From 86db7387c8d2b874cb562ce76eba1e2bed3ead04 Mon Sep 17 00:00:00 2001 From: everywill Date: Fri, 10 Nov 2017 02:47:56 -0600 Subject: [PATCH] =?UTF-8?q?[bug=20fix]capsule=EF=BC=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98=20(#51)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * style: badge上标大小改变更加灵活 * style: panel-title的行高跟随字号 * style: 绝对定位的元素width或height为auto,left,right,top,bottom不为auto时,auto的margin将计算为0,同初始值 * style: 修复作为组件使用时dialog的定位问题 * style: 修正示例 * style: add * style: capsule * style: modify readme * style: add noticebar * style: modify readme * style: noticebar优化 * style: add popup * style: remove * style: 左右反了... * style: 通告栏支持同一页面多个 * style: 独立管理不同noticebar的动画数据 * style: add * style: 删除多余文件 * style: capsule自定义颜色 * 修复capsule的样式问题 --- packages/capsule/index.pcss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/capsule/index.pcss b/packages/capsule/index.pcss index 48be9a49..0467e5c9 100644 --- a/packages/capsule/index.pcss +++ b/packages/capsule/index.pcss @@ -2,14 +2,14 @@ display: inline-block; font-size: 12px; vertical-align: middle; - line-height: 16px; + line-height: 19px; transform: scale(0.83); } .zan-capsule__left, .zan-capsule__right { display: inline-block; - line-height: 16px; - height: 16px; + line-height: 17px; + height: 19px; vertical-align: middle; box-sizing: border-box; }