From ff7ca273f49f410d61ae44049c94375c03341004 Mon Sep 17 00:00:00 2001 From: XPoet Date: Mon, 4 Jan 2021 18:51:57 +0800 Subject: [PATCH] style: optimize home article text display --- source/css/layout/home-content.styl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/css/layout/home-content.styl b/source/css/layout/home-content.styl index 97f5b32..d8b4508 100644 --- a/source/css/layout/home-content.styl +++ b/source/css/layout/home-content.styl @@ -1,5 +1,4 @@ - .home-content-container { .home-article-list { @@ -45,9 +44,13 @@ .home-article-content { - text-align: justify; + word-wrap: break-word; margin: 20px 0; line-height: 2rem; + + +keep-mobile() { + text-align: justify; + } }