Skip to content

Commit

Permalink
Fix border radius on hovered secondary menu (#31089) (#31097)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
GiteaBot and silverwind authored May 27, 2024
1 parent e0b7938 commit 0e70f73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web_src/css/modules/menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0e70f73

Please sign in to comment.