mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-07-07 07:00:01 +02:00
ui: use alt bg color for labels in hovered menu items (#4458)
A followup for https://codeberg.org/forgejo/forgejo/pulls/2935. Re-use the alt bg color for labels inside menu items that are hovered, to keep the label box visible. Preview: https://codeberg.org/attachments/d649b2d9-0838-49af-be6a-766de2faf52e Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4458 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
parent
e5379117fb
commit
16224ebd33
2 changed files with 3 additions and 2 deletions
|
@ -1185,7 +1185,8 @@ svg.text.purple,
|
|||
color: var(--color-label-text);
|
||||
}
|
||||
|
||||
.ui.menu .active.item > .label {
|
||||
.ui.menu .active.item > .label,
|
||||
.ui.menu.tabs-with-labels .item:hover > .label {
|
||||
background: var(--color-label-bg-alt, var(--color-label-bg));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue