mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 15:39:15 +08:00
[bug fix]: fix tab component when has a lot of text, show ellipsis (#217)
This commit is contained in:
parent
0ebe95f88a
commit
cea56b7a15
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user