aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/user/profile.go
diff options
context:
space:
mode:
authorEarl Warren <109468362+earl-warren@users.noreply.github.com>2023-07-19 23:30:57 +0200
committerGitHub <noreply@github.com>2023-07-19 23:30:57 +0200
commit8833853dd6bd137c6b372f2f206275664679d919 (patch)
tree8c22177276535f1fcff656cf0990ad9bf9109c2f /routers/web/user/profile.go
parentad4c09b59f1657a5400c92913972e4cca578a4fb (diff)
downloadgitea-8833853dd6bd137c6b372f2f206275664679d919.tar.gz
gitea-8833853dd6bd137c6b372f2f206275664679d919.zip
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>
Diffstat (limited to 'routers/web/user/profile.go')
0 files changed, 0 insertions, 0 deletions