Skip to content

Commit 4a88d54

Browse files
committed
refactor: 微调 z-index 值
1 parent 36033fe commit 4a88d54

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/BootstrapBlazor/Components/Tab/Tab.razor.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@
136136
left: 0;
137137
height: 2px;
138138
background-color: var(--bb-tabs-bar-bg);
139-
z-index: 1;
140139
transition: transform .3s cubic-bezier(.645,.045,.355,1);
141140
list-style: none;
142141
}
@@ -559,10 +558,9 @@
559558
align-items: flex-end;
560559
flex-shrink: 0;
561560
padding: 0 1rem;
562-
z-index: 1;
563561

564562
&.active {
565-
z-index: 5;
563+
z-index: 1;
566564

567565
.tab-corner {
568566
background-color: var(--bs-body-bg);

0 commit comments

Comments
 (0)