From a519aac6d5e55b2ad5c740e2fb95d70f5935f51e Mon Sep 17 00:00:00 2001 From: Hester Gong Date: Sun, 9 Apr 2023 18:15:43 +0800 Subject: [PATCH] Show protected branch rule names again (#23907) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `!important`s for one of the primary label selectors are removed by #23774, so the repository branch protection settings ui will not have the demanding css. This PR modifies `.ui.primary.label` to fix it. Before: 飞书20230404-115410 After: 截屏2023-04-04 11 56 32 --------- Co-authored-by: delvh Co-authored-by: Lunny Xiao --- web_src/css/base.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 3aee90e0c9..c48a36c854 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -2368,9 +2368,10 @@ a.ui.label:hover { } .ui.primary.label, -.ui.primary.labels .label { - background-color: var(--color-primary) !important; - border-color: var(--color-primary-dark-2) !important; +.ui.primary.labels .label, +.ui.ui.ui.primary.label { + background-color: var(--color-primary); + border-color: var(--color-primary-dark-2); } .ui.basic.labels .primary.label,