Skip to content

Commit 695738f

Browse files
GiteaBotHesterGdelvhlunny
authored
Show protected branch rule names again (#23907) (#24018)
Backport #23907 by @HesterG `!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: <img width="1408" alt="飞书20230404-115410" src="https://user-images.githubusercontent.com/17645053/229683221-ef9c7d5c-68a8-42b0-ba19-ef2d5dfce5f9.png"> After: <img width="1419" alt="截屏2023-04-04 11 56 32" src="https://user-images.githubusercontent.com/17645053/229683469-70cfc92d-d7ef-4323-a7f5-2247810fabce.png"> Co-authored-by: Hester Gong <[email protected]> Co-authored-by: delvh <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent cfde557 commit 695738f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

web_src/css/base.css

+4-3
Original file line numberDiff line numberDiff line change
@@ -2384,9 +2384,10 @@ a.ui.label:hover {
23842384
}
23852385

23862386
.ui.primary.label,
2387-
.ui.primary.labels .label {
2388-
background-color: var(--color-primary) !important;
2389-
border-color: var(--color-primary-dark-2) !important;
2387+
.ui.primary.labels .label,
2388+
.ui.ui.ui.primary.label {
2389+
background-color: var(--color-primary);
2390+
border-color: var(--color-primary-dark-2);
23902391
}
23912392

23922393
.ui.basic.labels .primary.label,

0 commit comments

Comments
 (0)