mirror of
1
Fork 0
forgejo/web_src/css
Giteabot 28e8c691a6
avoid hard-coding height in language dropdown menu (#25986) (#25997)
Backport #25986 by @earl-warren

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: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: rome-user <rome-user@noreply.codeberg.org>
2023-07-20 01:05:22 +02:00
..
chroma Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
codemirror Remove EasyMDE focus outline on text (#25328) (#25332) 2023-06-18 09:35:40 +02:00
editor Several fixes for mobile UI (#25634) (#25689) 2023-07-07 00:34:00 +02:00
features Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
markup Improve wiki sidebar and TOC (#25460) (#25477) 2023-06-24 10:16:15 +08:00
modules Prevent SVG shrinking (#25652) (#25669) 2023-07-04 10:03:03 +00:00
repo Improve wiki sidebar and TOC (#25460) (#25477) 2023-06-24 10:16:15 +08:00
shared Actions list enhancements (#25601) (#25678) 2023-07-04 13:00:34 +00:00
standalone Add dark mode to API Docs (#24971) 2023-05-28 21:37:34 +00:00
themes Minor arc-green color tweaks (#25175) (#25205) 2023-06-12 13:56:59 +02:00
actions.css Reorganize CSS files (#24739) 2023-05-16 00:13:30 -04:00
admin.css Several fixes for mobile UI (#25634) (#25689) 2023-07-07 00:34:00 +02:00
base.css Actions list enhancements (#25601) (#25678) 2023-07-04 13:00:34 +00:00
dashboard.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
explore.css Improve notification icon and navbar (#25111) (#25124) 2023-06-08 10:19:13 +00:00
font_i18n.css Fix `@font-face` overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00
helpers.css Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
home.css avoid hard-coding height in language dropdown menu (#25986) (#25997) 2023-07-20 01:05:22 +02:00
index.css Prevent SVG shrinking (#25652) (#25669) 2023-07-04 10:03:03 +00:00
install.css Make "install page" respect environment config (#25648) (#25799) 2023-07-10 11:51:05 +00:00
org.css Fix position of org follow button (#25688) (#25692) 2023-07-05 08:31:12 +02:00
repo.css Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
review.css Make `add line comment` buttons focusable (#25894) (#25896) 2023-07-15 12:18:49 +02:00
user.css Fix mobile navbar and misc cleanups (#25134) (#25169) 2023-06-11 09:50:39 +08:00