diff --git a/src/assets/js/js.js b/src/assets/js/js.js index c2658a9..f5151c3 100644 --- a/src/assets/js/js.js +++ b/src/assets/js/js.js @@ -19,4 +19,9 @@ jQuery(document).ready(function( $ ) { } } }); + + /** + * Align the comments childrens + */ + $('#comments ul.children').addClass('align-children'); }); \ No newline at end of file diff --git a/src/assets/scss/_comments.scss b/src/assets/scss/_comments.scss index 0209250..fbc5348 100644 --- a/src/assets/scss/_comments.scss +++ b/src/assets/scss/_comments.scss @@ -42,6 +42,20 @@ font-size: 0.7rem; } } + .comment-text{ + p{ + margin-bottom: 0; + } + } + } + } + ul{ + &.children{ + &.align-children{ + @media only screen and (min-width: 576px){ + margin-left: 2.3rem; + } + } } } } \ No newline at end of file diff --git a/src/comments.php b/src/comments.php index 2376bf1..846c144 100644 --- a/src/comments.php +++ b/src/comments.php @@ -19,42 +19,43 @@ if (post_password_required()) {
", "" ); ?>
-