diff --git a/source/css/layout/article-content.styl b/source/css/layout/article-content.styl index 1b6a5f0..e81c6a5 100644 --- a/source/css/layout/article-content.styl +++ b/source/css/layout/article-content.styl @@ -91,9 +91,10 @@ $article-title-font-size = 1.6rem; .article-content { margin-top: $component-interspace; - text-align: justify; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); + word-wrap: break-word; + text-align: justify; } .post-copyright-info { diff --git a/source/css/layout/home-content.styl b/source/css/layout/home-content.styl index d8b4508..ad66519 100644 --- a/source/css/layout/home-content.styl +++ b/source/css/layout/home-content.styl @@ -45,12 +45,9 @@ .home-article-content { word-wrap: break-word; + text-align: justify; margin: 20px 0; line-height: 2rem; - - +keep-mobile() { - text-align: justify; - } }