Skip to content

Commit

Permalink
fix(tab-bar-item): when the split attribute is true, the style is abn…
Browse files Browse the repository at this point in the history
…ormal (#2696)
  • Loading branch information
betavs authored Apr 16, 2024
1 parent 8885cb4 commit 3eb6b16
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/tab-bar-item/tab-bar-item.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@
font-size: 32rpx;
}

&--split:before {
.hairline-left(@color: @tab-bar-border-color);
top: 16rpx;
bottom: 16rpx;
&--split {
& + &::before {
.hairline-left(@color: @tab-bar-border-color);
top: 16rpx;
bottom: 16rpx;
}
}

&--crowded {
Expand Down

0 comments on commit 3eb6b16

Please sign in to comment.