feat: justify body paragraphs and enable hyphenation for improved text layout
This commit is contained in:
1 parent
1839946934
commit
4c2ff4af61
1 file changed
+7
@@ -355,6 +355,13 @@ h2.title {
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
|
||||
/* Justify body paragraphs; hyphenate so the inter-word gaps stay tidy */
|
||||
.content p {
|
||||
text-align: justify;
|
||||
hyphens: auto;
|
||||
-webkit-hyphens: auto;
|
||||
}
|
||||
|
||||
.content img {
|
||||
border-radius: var(--radius-md);
|
||||
margin: var(--space-md) 0;
|
||||
|
||||
Reference in new issue
Block a user