aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-05-27 06:48:41 +0200
committerGitHub <noreply@github.com>2024-05-27 04:48:41 +0000
commit145baa2b3f3bef2b4535d6d3b7b2cdb88da4382b (patch)
tree5b112b2b746564df51e59427aaa33c7761118d42 /web_src/css
parente625813aa9f585718e9c7677fc441f1f3ad69c61 (diff)
downloadgitea-145baa2b3f3bef2b4535d6d3b7b2cdb88da4382b.tar.gz
gitea-145baa2b3f3bef2b4535d6d3b7b2cdb88da4382b.zip
Fix border radius on hovered secondary menu (#31089)
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">
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/modules/menu.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/web_src/css/modules/menu.css b/web_src/css/modules/menu.css
index ff9d7fc5d0..43679a3317 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 {