forgejo/web_src/css/features
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
..
codeeditor.css feat(ui): replace Monaco with CodeMirror (#10559) 2026-01-04 23:52:33 +01:00
colorpicker.css Replace coloris with vanilla-colorful (#30201) 2024-04-07 15:40:31 +02:00
console.css Forbid deprecated break-word in CSS (#30934) 2024-05-12 20:03:10 +02:00
dropzone.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
gitgraph.css chore(ui): clean up hashbox CSS, small design changes (#7822) 2025-05-25 12:51:27 +02:00
heatmap.css Add hover outline to heatmap squares (#30828) 2024-05-05 12:15:40 +01:00
imagediff.css Replace imgage diff png background pattern with gradient (#3870) 2024-05-24 17:33:13 +00:00
projects.css fix(ui): use overflow:auto to avoid scrollbars when they are not needed (#11469) 2026-03-04 00:36:54 +01:00
tribute.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00