1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00

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">
This commit is contained in:
silverwind 2024-05-27 06:48:41 +02:00 committed by GitHub
parent e625813aa9
commit 145baa2b3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -512,11 +512,14 @@
background: var(--color-hover); background: var(--color-hover);
} }
.ui.secondary.menu .active.item {
border-radius: 0.28571429rem;
}
.ui.secondary.menu .active.item, .ui.secondary.menu .active.item,
.ui.secondary.menu .active.item:hover { .ui.secondary.menu .active.item:hover {
color: var(--color-text-dark); color: var(--color-text-dark);
background: var(--color-active); background: var(--color-active);
border-radius: 0.28571429rem;
} }
.ui.secondary.item.menu { .ui.secondary.item.menu {