style: optimize article text display
This commit is contained in:
parent
ff7ca273f4
commit
1f04c7f778
|
@ -91,9 +91,10 @@ $article-title-font-size = 1.6rem;
|
||||||
|
|
||||||
.article-content {
|
.article-content {
|
||||||
margin-top: $component-interspace;
|
margin-top: $component-interspace;
|
||||||
text-align: justify;
|
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
border-bottom: 1px solid var(--border-color);
|
border-bottom: 1px solid var(--border-color);
|
||||||
|
word-wrap: break-word;
|
||||||
|
text-align: justify;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-copyright-info {
|
.post-copyright-info {
|
||||||
|
|
|
@ -45,12 +45,9 @@
|
||||||
|
|
||||||
.home-article-content {
|
.home-article-content {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
text-align: justify;
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
|
|
||||||
+keep-mobile() {
|
|
||||||
text-align: justify;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue