Commit 9a4d5d9
authored
UX: prevent lightbox counter wrapping (#36245)
Due to limited space in the lightbox header, the counter text can wrap
to the next line on mobile. Note: the gap between the counter and
buttons is taken up by the loading animation.
Making a small adjustment to the button size allows for better layout
with our current buttons.
### Before
<img width="388" height="81" alt="Screenshot 2025-11-26 at 1 21 46 PM"
src="https://github.com/user-attachments/assets/de405c36-0cd9-427e-9482-7f082b935a47"
/>
### After
<img width="390" height="68" alt="Screenshot 2025-11-26 at 1 21 23 PM"
src="https://github.com/user-attachments/assets/eeb06ac0-d2e7-4c05-8088-d8b2799aa5ed"
/>1 parent 1172744 commit 9a4d5d9
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
| |||
0 commit comments