Skip to content

Commit 86265b3

Browse files
authored
Merge pull request #376 from janfaracik/fix-tabs
Fix tabs in 2.496
2 parents 3ac97f4 + da1dbab commit 86265b3

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<revision>5.3.3-3</revision>
2323
<changelist>-SNAPSHOT</changelist>
2424
<module.name>${project.groupId}.bootstrap5</module.name>
25-
25+
<jenkins.version>2.496</jenkins.version>
2626
</properties>
2727

2828
<licenses>

src/main/webapp/css/jenkins-style.css

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,25 @@ pre {
6262
}
6363

6464
.tabBar .tab a.active {
65-
background: var(--tabs-item-background--selected);
66-
color: var(--tabs-item-foreground--selected);
67-
cursor: default;
6865
z-index: 2;
66+
cursor: default;
67+
font-weight: 450;
68+
color: var(--tabs-item-foreground--active);
69+
70+
&::before {
71+
background-clip: padding-box;
72+
background-color: var(--tabs-item-background--selected) !important;
73+
border: var(--jenkins-border--subtle) !important;
74+
}
75+
76+
&::after {
77+
display: none;
78+
}
79+
80+
&::before,
81+
&::after {
82+
inset: 0;
83+
}
6984
}
7085

7186
/* ------------------------------------------------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)