1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-07-05 02:45:28 +00:00

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>
This commit is contained in:
Giteabot 2024-05-27 15:07:16 +08:00 committed by GitHub
parent e0b7938d74
commit 0e70f73055
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {