forgejo/web_src/css
Henry Catalini Smith 181ba05eed fix(ui): allow label descriptions to wrap in dropdown (#11607)
https://codeberg.org/forgejo/forgejo/issues/11512

Restoring default whitespace behaviour seems sufficient to resolve this. The `display: block` property is necessary because `<small>` is an inline element and otherwise the `padding-left` only applies to the first line. There's a description in one of the default label packages affected by the issue so I've used that for the before/after screenshots below.

| Before | After |
|-|-|
| ![Screenshot 2026-03-10 at 07-09-23 #1 - r - henrycatalinismith_test3 - Forgejo Beyond coding. We Forge](/attachments/2c361f11-d71a-464e-8d4a-0aaa97199d39) | ![Screenshot 2026-03-10 at 07-08-01 #1 - r - henrycatalinismith_test3 - Forgejo Beyond coding. We Forge](/attachments/7a570f99-8687-43d9-8376-98907961bfcf) |

The issue doesn't just affect long descriptions though. In fact even the nice, short defaults are affected. Vision impairment is one of the most common disabilities, and increasing the text size is a typical way in which people adapt their computing environment to accommodate their disability. Even the short default label descriptions are cut off in this use case.

| Before | After |
|-|-|
| ![Screenshot 2026-03-10 at 06-58-29 New issue - henrycatalinismith_test2 - Forgejo Beyond coding. We Forge](/attachments/741ac088-64ac-49d3-9962-c20905c7750c) | ![Screenshot 2026-03-10 at 06-59-00 New issue - henrycatalinismith_test2 - Forgejo Beyond coding. We Forge](/attachments/73f1dc1e-242c-4697-8e9d-1288088a2d8c) |

Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11607
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Co-authored-by: Henry Catalini Smith <henry@catalinismith.se>
Co-committed-by: Henry Catalini Smith <henry@catalinismith.se>
2026-03-20 18:55:27 +01:00
..
chroma [Port] gitea#30014: Various code view improvements 2024-03-28 16:43:14 +01:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor fix(ui/mde): fix switch height and buttons alignment (#9545) 2025-10-08 17:53:50 +02:00
features fix(ui): use overflow:auto to avoid scrollbars when they are not needed (#11469) 2026-03-04 00:36:54 +01:00
markup fix(ui): center-align emojis to neighbouring text (#11057) 2026-01-27 22:56:22 +01:00
modules feat(ui): improve visibility of counters inside of switch items (#11472) 2026-03-08 18:09:13 +01:00
repo feat(ui): responsive releases list (#11080) 2026-02-07 19:15:14 +01:00
shared fix(ui): improve milestone/project header consistency (#7174) 2025-03-09 16:24:52 +00:00
standalone chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
themes feat: add form-based runner management (#11516) 2026-03-12 02:14:45 +01:00
actions.css fix(ui): improve consistency in new runner management pages (#11675) 2026-03-15 15:29:01 +01:00
admin.css feat: move more modals to native dialogs (#9636) 2025-10-13 17:48:49 +02:00
base.css fix: make repository menu not overflow with JS off (#11614) 2026-03-17 23:03:17 +01:00
dashboard.css fix(ui): cleanup css deadcode related to stackable menus (#11719) 2026-03-17 18:45:50 +01:00
explore.css [Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally 2024-03-28 16:43:09 +01:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css feat(ui): use better contrast color for required field indicator (#11677) 2026-03-17 19:45:18 +01:00
helpers.css Merge pull request 'Replace gt-word-break with tw-break-anywhere' (#4102) from 0ko/forgejo:ui-replace-gt-word-break into forgejo 2024-06-11 10:39:03 +00:00
home.css fix(ui): center footer links (#7925) 2025-05-22 15:27:00 +02:00
index.css feat: improve label filtering exclusion (#10702) 2026-02-08 00:31:31 +01:00
install.css UI improvements to optional sections in installation page (#4062) 2024-06-07 17:57:54 +00:00
issues.css feat: improve label filtering exclusion (#10702) 2026-02-08 00:31:31 +01:00
migrate.css feat(ui): redesign migration selection screen (#6795) 2025-04-19 13:51:35 +00:00
org.css feat(ui): convert org members list to grid (#11127) 2026-02-10 12:50:55 +01:00
repo.css fix(ui): allow label descriptions to wrap in dropdown (#11607) 2026-03-20 18:55:27 +01:00
review.css chore(ui): cleanup reviews css, improve consistency (#10268) 2025-12-01 01:30:25 +01:00
user.css fix(ui): cleanup css deadcode related to stackable menus (#11719) 2026-03-17 18:45:50 +01:00