style: optimize article text display

This commit is contained in:
XPoet 2021-01-04 19:01:53 +08:00
parent ff7ca273f4
commit 1f04c7f778
2 changed files with 3 additions and 5 deletions

View File

@ -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 {

View File

@ -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;
}
}