Skip to content

Commit

Permalink
Fix border radius on hovered secondary menu (#31089)
Browse files Browse the repository at this point in the history
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">
  • Loading branch information
silverwind authored May 27, 2024
1 parent e625813 commit 145baa2
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 145baa2

Please sign in to comment.