Let's prettify all paragraphs

This commit is contained in:
Lim Chee Aun 2023-10-23 16:23:45 +08:00
parent 8bf3f31056
commit 4897847601

View file

@ -148,6 +148,16 @@ body {
} }
} }
p {
/*
white-space is shorthand for two values; white-space-collapse and text-wrap
https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
!important is needed to override higher specificity when elements are styled
with `white-space` and 1 value, which doesn't have "pretty"
*/
text-wrap: pretty !important;
}
a { a {
color: var(--link-color); color: var(--link-color);
text-decoration-color: var(--link-faded-color); text-decoration-color: var(--link-faded-color);