Skip to content

Commit

Permalink
fix(tabs): some css variables are invalid (#2843)
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs authored Jun 5, 2024
1 parent e970d31 commit 4784b32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tabs/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
background: @tab-nav-bg-color;

&--card {
background: @bg-color-secondarycontainer;
background: @tab-item-tag-bg;
--td-tab-border-color: transparent;
}
}
Expand Down Expand Up @@ -109,7 +109,7 @@

&--card {
&.@{item}--active {
background-color: @bg-color-container;
background-color: @tab-nav-bg-color;
border-radius: 18rpx 18rpx 0 0;

&:first-child {
Expand All @@ -132,14 +132,14 @@
bottom: 0;
width: 36rpx;
height: 36rpx;
background: @bg-color-container;
background: @tab-nav-bg-color;

&::after {
content: '';
display: block;
width: 100%;
height: 100%;
background-color: @bg-color-secondarycontainer;
background-color: @tab-item-tag-bg;
}
}

Expand Down

0 comments on commit 4784b32

Please sign in to comment.