mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-10 06:59:45 +08:00
toptips add min height
This commit is contained in:
parent
8ec6023f88
commit
ce431b8415
2
dist/toptips/index.wxss
vendored
2
dist/toptips/index.wxss
vendored
@ -3,6 +3,8 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
-webkit-transform: translateZ(0) translateY(-100%);
|
-webkit-transform: translateZ(0) translateY(-100%);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
/* 至少有一行的高度,保证第一次动画显示正常 */
|
||||||
|
min-height: 32px;
|
||||||
top: 0;
|
top: 0;
|
||||||
line-height: 2.3;
|
line-height: 2.3;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user