Commit 04ef5ef
committed
fix(ui): truncate long URLs in copy button from the start
Button wraps its children in an unconstrained inline-flex span, so a long
checkout URL sized that wrapper past the button and got clipped on both
ends by justify-center, hiding the start of the URL.
Constrain the wrapper with min-w-0 max-w-full so truncating children can
shrink, and left-align the URL text so the ellipsis lands at the end.1 parent 094b9cb commit 04ef5ef
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments