Skip to content

Commit 0e70f73

Browse files
GiteaBotsilverwind
andauthored
Fix border radius on hovered secondary menu (#31089) (#31097)
Backport #31089 by @silverwind Presumably a regression from #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 <[email protected]>
1 parent e0b7938 commit 0e70f73

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web_src/css/modules/menu.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,11 +512,14 @@
512512
background: var(--color-hover);
513513
}
514514

515+
.ui.secondary.menu .active.item {
516+
border-radius: 0.28571429rem;
517+
}
518+
515519
.ui.secondary.menu .active.item,
516520
.ui.secondary.menu .active.item:hover {
517521
color: var(--color-text-dark);
518522
background: var(--color-active);
519-
border-radius: 0.28571429rem;
520523
}
521524

522525
.ui.secondary.item.menu {

0 commit comments

Comments
 (0)