mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-26 19:36:39 +08:00
zui-ellipsis--l3
This commit is contained in:
parent
53b5a12411
commit
33171f9fa0
14
dist/helper/index.wxss
vendored
14
dist/helper/index.wxss
vendored
@ -64,7 +64,9 @@
|
|||||||
transform: translateY(-50%) matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
|
transform: translateY(-50%) matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.zui-ellipsis {
|
.zui-ellipsis,
|
||||||
|
.zui-ellipsis--l2,
|
||||||
|
.zui-ellipsis--l3 {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -74,13 +76,17 @@
|
|||||||
.zui-ellipsis--l2 {
|
.zui-ellipsis--l2 {
|
||||||
max-height: 40px;
|
max-height: 40px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.zui-ellipsis--l3 {
|
||||||
|
max-height: 60px;
|
||||||
|
line-height: 20px;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
.zui-clearfix {
|
.zui-clearfix {
|
||||||
zoom: 1;
|
zoom: 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user