loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

avoid hard-coding height in language dropdown menu (#25986)

This commit removes the hard-coded height of 500px, using that as a
max-height instead. The height of items in the dropdown menu, assuming a
default font size of 16px, is 36px, so the old CSS would cause overly
large dropdown menus in instances where less than 14 languages are
offered.

Refs: https://codeberg.org/forgejo/forgejo/pulls/1000

Co-authored-by: rome-user <rome-user@noreply.codeberg.org>
Co-authored-by: Giteabot <teabot@gitea.io>

authored by

Earl Warren
rome-user
Giteabot
and committed by
GitHub
8833853d ad4c09b5

+1 -2
+1 -2
web_src/css/home.css
··· 74 74 } 75 75 76 76 .page-footer .ui.dropdown.language .menu { 77 - height: 500px; 78 - max-height: calc(100vh - 60px); 77 + max-height: min(500px, calc(100vh - 60px)); 79 78 overflow-y: auto; 80 79 margin-bottom: 10px; 81 80 }