diff --git a/style/mobile/components/tabs/v2/_index.less b/style/mobile/components/tabs/v2/_index.less index 199f024602..9a2b76cdc3 100644 --- a/style/mobile/components/tabs/v2/_index.less +++ b/style/mobile/components/tabs/v2/_index.less @@ -22,7 +22,6 @@ &__item { position: relative; display: flex; - flex: none; align-items: center; justify-content: center; font-weight: 400; @@ -31,6 +30,7 @@ box-sizing: border-box; white-space: nowrap; overflow: hidden; + flex: 1 0 auto; &--active { font-weight: 600; @@ -42,10 +42,6 @@ cursor: not-allowed; } - &--evenly { - flex: 1; - } - &--top, &--bottom { height: @tab-item-height; @@ -70,7 +66,7 @@ } } - &--tag:not(&--evenly) { + &--tag { padding: 0 4px; &:first-child {