diff options
author | Giteabot <teabot@gitea.io> | 2024-05-27 15:07:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 07:07:16 +0000 |
commit | 0e70f73055fdee176665b2384e9aed0566e68495 (patch) | |
tree | d9b89c445978922e501e3fc27059a34697d95ecd | |
parent | e0b7938d74ce1e60db3341dc62978dc53d4ee7ee (diff) | |
download | gitea-0e70f73055fdee176665b2384e9aed0566e68495.tar.gz gitea-0e70f73055fdee176665b2384e9aed0566e68495.zip |
Fix border radius on hovered secondary menu (#31089) (#31097)
Backport #31089 by @silverwind
Presumably a regression from
https://github.com/go-gitea/gitea/pull/30325, these menus were showing a
border radius on hover, which is fixed with this change.
<img width="154" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/eafdc1c5-3cf5-48d1-86c4-21c58f92cfaf">
Co-authored-by: silverwind <me@silverwind.io>
-rw-r--r-- | web_src/css/modules/menu.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web_src/css/modules/menu.css b/web_src/css/modules/menu.css index 76a576cd53..2f80869462 100644 --- a/web_src/css/modules/menu.css +++ b/web_src/css/modules/menu.css @@ -512,11 +512,14 @@ background: var(--color-hover); } +.ui.secondary.menu .active.item { + border-radius: 0.28571429rem; +} + .ui.secondary.menu .active.item, .ui.secondary.menu .active.item:hover { color: var(--color-text-dark); background: var(--color-active); - border-radius: 0.28571429rem; } .ui.secondary.item.menu { |