Commit 4bdce37
committed
Restore 16px 'Don't show this again' dialog links
These were Chakra <Link as="button">: no size scale, so they inherited
the dialog's 16px document size. The port to Button variant="link"
brought the Button size scale with it (md = 14.4px on this app's
shrunken fontSizes), silently shrinking them. size="lg" (16.2px) is
the nearest scale size; the link variant still zeroes lg's
height/padding. Verified against production: box centres within
0.25px.
ModuleOverlay's inline link is the other Link-conversion but sits in
md Text where inherited and variant sizes coincide — unchanged.1 parent 874a321 commit 4bdce37
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
0 commit comments