Skip to content

Commit

Permalink
Add text-wrap pretty to p tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Nov 23, 2023
1 parent 739f6c2 commit 2757c00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/sass/base/grouping/_grouping.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 & {
Expand Down

0 comments on commit 2757c00

Please sign in to comment.