Skip to content

Commit

Permalink
feat: global text wrap styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ella-etch committed Feb 21, 2024
1 parent 440df46 commit c69f329
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions styles/base/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ body {
font-size: var(--diamond-font-size-base);
-webkit-font-smoothing: antialiased;
line-height: var(--diamond-font-line-height);
text-wrap: pretty;
}

h1,
Expand All @@ -14,6 +15,7 @@ h4 {
line-height: var(--diamond-font-line-height-sm);
margin-bottom: var(--diamond-spacing-sm);
margin-top: 0;
text-wrap: balance;
}

h1 {
Expand Down

0 comments on commit c69f329

Please sign in to comment.