From 4f7087511343d893b98a8d354403db9aaa800fd8 Mon Sep 17 00:00:00 2001 From: Nino Date: Wed, 18 Jan 2017 16:19:25 +0800 Subject: [PATCH] update --- dist/helper/index.wxss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dist/helper/index.wxss b/dist/helper/index.wxss index a9ab8680..23a08395 100644 --- a/dist/helper/index.wxss +++ b/dist/helper/index.wxss @@ -64,9 +64,7 @@ transform: translateY(-50%) matrix(0.71, 0.71, -0.71, 0.71, 0, 0); } -.zui-ellipsis, -.zui-ellipsis--l2, -.zui-ellipsis--l3 { +.zui-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -76,6 +74,9 @@ .zui-ellipsis--l2 { max-height: 40px; line-height: 20px; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } @@ -83,6 +84,9 @@ .zui-ellipsis--l3 { max-height: 60px; line-height: 20px; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }