Author: Adam Argyle [argyle@google.com]
Committer: GitHub [noreply@github.com] Thu, 22 Jun 2023 06:39:07 +0000
Hash: c73813b066ada6ebc9319994c25375ea37e1573c
Timestamp: Thu, 22 Jun 2023 06:39:07 +0000 (1 year ago)

+2 -1 +/-1 browse
add `text-wrap: balance;` (#382)
add `text-wrap: balance;` (#382)

1diff --git a/src/extra/normalize.src.css b/src/extra/normalize.src.css
2index b5c9cc1..d87cf63 100644
3--- a/src/extra/normalize.src.css
4+++ b/src/extra/normalize.src.css
5 @@ -44,6 +44,7 @@
6 :where(h1, h2, h3, h4, h5, h6) {
7 line-height: var(--font-lineheight-1);
8 font-weight: var(--font-weight-9);
9+ text-wrap: balance;
10 }
11
12 :where(h1) {
13 @@ -184,7 +185,7 @@
14 :where(ol, ul) { padding-inline-start: var(--size-8) }
15 :where(li) { padding-inline-start: var(--size-2) }
16 :where(li, dd, figcaption) { max-inline-size: var(--size-content-2) }
17- :where(p) { max-inline-size: var(--size-content-3) }
18+ :where(p) { max-inline-size: var(--size-content-3); text-wrap: pretty; }
19 :where(dt, summary) { font-weight: var(--font-weight-7) }
20
21 :where(dt:not(:first-of-type)) {