0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/app/assets
David Battersby 9a4d5d97cc
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"
/>
2025-11-26 13:58:40 +04:00
..
images
stylesheets UX: prevent lightbox counter wrapping (#36245) 2025-11-26 13:58:40 +04:00