[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 './common/var.css';
|
||||||
|
@import './mixins/ellipsis.css';
|
||||||
|
|
||||||
.van-tabs {
|
.van-tabs {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -83,6 +84,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
@mixin multi-ellipsis 1;
|
||||||
|
|
||||||
&--active {
|
&--active {
|
||||||
color: $red;
|
color: $red;
|
||||||
|
|||||||
Reference in New Issue
Block a user