diff --git a/layout/_partial/comment/comment.ejs b/layout/_partial/comment/comment.ejs index 3e565109..a53db81b 100644 --- a/layout/_partial/comment/comment.ejs +++ b/layout/_partial/comment/comment.ejs @@ -6,9 +6,8 @@ const { %> <% if (theme_comment_enable === true && theme_comment_use) { %> -
-
-
+
+
 <%- __('comments') %>
<% if (theme_comment_use === 'valine') { %> diff --git a/source/css/layout/_partial/comment/comment.styl b/source/css/layout/_partial/comment/comment.styl index 54d6d106..511b5d30 100644 --- a/source/css/layout/_partial/comment/comment.styl +++ b/source/css/layout/_partial/comment/comment.styl @@ -18,24 +18,17 @@ if (hexo-config('comment') && hexo-config('comment.enable') == true && hexo-conf width 100% margin-top $component-spacing-value - #comments-anchor { - width 100% - height 0.8rem - } - - .comment-area-title { width 100% - margin 0.8rem 0 color var(--text-color-3) font-size 1.38rem + line-height 2 i { color var(--text-color-3) } +keep-tablet() { - margin 0.4rem 0 font-size 1.2rem } }