This commit is contained in:
Nino 2017-01-18 16:19:25 +08:00
parent 317624cd45
commit 4f70875113

View File

@ -64,9 +64,7 @@
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;
@ -76,6 +74,9 @@
.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;
} }
@ -83,6 +84,9 @@
.zui-ellipsis--l3 { .zui-ellipsis--l3 {
max-height: 60px; max-height: 60px;
line-height: 20px; line-height: 20px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }