From 0e70f73055fdee176665b2384e9aed0566e68495 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Mon, 27 May 2024 15:07:16 +0800 Subject: [PATCH] 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. image Co-authored-by: silverwind --- web_src/css/modules/menu.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web_src/css/modules/menu.css b/web_src/css/modules/menu.css index 76a576cd5..2f8086946 100644 --- a/web_src/css/modules/menu.css +++ b/web_src/css/modules/menu.css @@ -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 {