Skip to content

Commit a519aac

Browse files
HesterGdelvhlunny
authored
Show protected branch rule names again (#23907)
`!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: delvh <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent 42e009f commit a519aac

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
@@ -2368,9 +2368,10 @@ a.ui.label:hover {
23682368
}
23692369

23702370
.ui.primary.label,
2371-
.ui.primary.labels .label {
2372-
background-color: var(--color-primary) !important;
2373-
border-color: var(--color-primary-dark-2) !important;
2371+
.ui.primary.labels .label,
2372+
.ui.ui.ui.primary.label {
2373+
background-color: var(--color-primary);
2374+
border-color: var(--color-primary-dark-2);
23742375
}
23752376

23762377
.ui.basic.labels .primary.label,

0 commit comments

Comments
 (0)