mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[bug fix]: fix tab component when has a lot of text, show ellipsis (#217)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import './common/var.css';
|
||||
@import './mixins/ellipsis.css';
|
||||
|
||||
.van-tabs {
|
||||
position: relative;
|
||||
@@ -83,6 +84,7 @@
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
flex: 1;
|
||||
@mixin multi-ellipsis 1;
|
||||
|
||||
&--active {
|
||||
color: $red;
|
||||
|
Reference in New Issue
Block a user