diff --git a/source/css/_common/components/post/post.styl b/source/css/_common/components/post/post.styl index e585fa3cfa095fc845bb8daff626858269dc2eec..ed7793a6ad51f63b721fd17febd13c9131dbdbc6 100644 --- a/source/css/_common/components/post/post.styl +++ b/source/css/_common/components/post/post.styl @@ -93,10 +93,13 @@ if (hexo-config('post_widget.end_text.enable')) { &-end { margin: 0 0 1rem; - border-top: 1px dashed $post-end-line-color; padding: 1rem 0 0; text-align: center; color: $post-end-color; + + if (hexo-config('post_widget.end_text.horizon_line')) { + border-top: 1px dashed $post-end-line-color; + } } }