From ce431b8415310b89b9217053ce1a6fe1580889af Mon Sep 17 00:00:00 2001 From: pangxie1991 Date: Mon, 26 Dec 2016 15:01:43 +0800 Subject: [PATCH] toptips add min height --- dist/toptips/index.wxss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/toptips/index.wxss b/dist/toptips/index.wxss index 3ae401a7..a541db5b 100644 --- a/dist/toptips/index.wxss +++ b/dist/toptips/index.wxss @@ -3,6 +3,8 @@ position: fixed; -webkit-transform: translateZ(0) translateY(-100%); width: 100%; + /* 至少有一行的高度,保证第一次动画显示正常 */ + min-height: 32px; top: 0; line-height: 2.3; font-size: 14px;