Skip to content

Commit

Permalink
Add fancy text wrap for Chrome users
Browse files Browse the repository at this point in the history
  • Loading branch information
jegtnes committed Mar 1, 2024
1 parent a26d92c commit 4f136d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/_styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ body {
font-size: var(--step-0);
}

.flow {
text-wrap: pretty;
}

.flow > * + *,
.flow > dl > * {
margin-block-start: var(--flow-space, 1em)
Expand Down
1 change: 1 addition & 0 deletions src/_styles/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ h5,
h6 {
font-family: "Noord Regular";
font-weight: 500;
text-wrap: balance;
}

.hefty-boi {
Expand Down

0 comments on commit 4f136d9

Please sign in to comment.