From 399233dac8c90ff38424b31b39ad299f147d6b41 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Thu, 18 Oct 2018 20:27:19 +0800 Subject: [PATCH] feat(style): bring up children comment style --- src/disqusjs.css | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/disqusjs.css b/src/disqusjs.css index 95284cb..9f8a7d3 100644 --- a/src/disqusjs.css +++ b/src/disqusjs.css @@ -75,6 +75,11 @@ right: 0; } +#dsqjs .dsqjs-post-list .dsqjs-post-item { + position: relative; + margin-bottom: 20px; +} + #dsqjs .dsqjs-post-list .dsqjs-post-avatar { float: left; margin-right: 12px; @@ -86,8 +91,8 @@ } #dsqjs .dsqjs-post-list .dsqjs-post-avatar img { - width: 42px; - height: 42px; + width: 44px; + height: 44px; display: block; border-radius: 4px; } @@ -99,7 +104,6 @@ #dsqjs .dsqjs-post-list .dsqjs-post-header { line-height: 1; font-size: 14px; - padding-right: 16px; margin-bottom: 3px; } @@ -122,4 +126,13 @@ #dsqjs .dsqjs-post-body p:last-child { margin: 0; +} + +#dsqjs .dsqjs-post-list.dsqjs-children li { + margin-left: 50px; +} + +#dsqjs .dsqjs-post-list.dsqjs-children .dsqjs-post-avatar img { + width: 38px; + height: 38px; } \ No newline at end of file