Commit acfa2dd
committed
Docs: give table pages a wider room and keep identifiers whole in cells
At the 52em measure a four-column parameter table is starved: the
browser squeezes the type column to 87px and breaks "string" as
stri/ng, relative_path as relative_p/ath — the wrap-anywhere rule
meant for prose overflow lets a table column shrink to almost
nothing — while a third of a 1280px window sits empty.
Two rules: a page that carries a table widens its article container
to 72em from 992px up (:has(), so prose-only pages keep their
measure; browsers without it keep today's rendering), and inside a
cell an identifier does not break mid-name, so columns are sized by
their longest name and the description column takes the surplus.
Measured at 1280px: the description column grows from 263px to
445px, and every identifier renders on one line.1 parent e540e49 commit acfa2dd
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
188 | 210 | | |
189 | 211 | | |
190 | 212 | | |
| |||
0 commit comments