forgejo/web_src
0ko 8d6812df25 fix(ui): use overflow:auto to avoid scrollbars when they are not needed (#11469)
Closes forgejo/forgejo#11407

I looked at related Gitea discussions for when it was implemented and it looks like what to use exactly for `overflow` was not discussed, the intention was just to have overflowing content scroll, not to have irrelevant scrollbars appear at all times.

- https://github.com/go-gitea/gitea/pull/31683
- https://github.com/go-gitea/gitea/issues/31667
- https://github.com/go-gitea/gitea/pull/26561

But with `max-height` restrictions that are in place only horizontal scrollbars are ever needed on demand. Vertical ones are not needed. For this `auto` works much better than `scroll`.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11469
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
2026-03-04 00:36:54 +01:00
..
css fix(ui): use overflow:auto to avoid scrollbars when they are not needed (#11469) 2026-03-04 00:36:54 +01:00
fomantic Lock file maintenance (forgejo) (#11047) 2026-01-26 12:09:14 +01:00
js fix(ui/mde): inputs in table/link insertion modals (#11341) 2026-03-02 23:32:40 +01:00
svg Add support for migrating from Pagure (#8513) 2025-08-11 16:56:26 +02:00