Add text-wrap pretty to p tag.

This commit is contained in:
Fredrik Jonsson 2023-11-23 20:52:49 +01:00
commit 2757c00db3

View file

@ -72,6 +72,8 @@ hr {
p {
// Add vertical rhythm margins.
@include margin-block(0 1);
// Nicer text wrap, e.g. no lone work on last line.
text-wrap: pretty;
// Set max text line width in main for readability.
.main & {