From 3f227f43d6d9660d90d2d556dd0b8a77b3bd7cfd Mon Sep 17 00:00:00 2001 From: tower1229 Date: Tue, 9 Jan 2018 09:41:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AE=E4=BD=BF=E7=94=A8active?= =?UTF-8?q?=E6=95=88=E6=9E=9C=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sdk/ui.css | 2 ++ sdk/ui.less | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/ui.css b/sdk/ui.css index c2cfa0a..b1b2be5 100644 --- a/sdk/ui.css +++ b/sdk/ui.css @@ -356,6 +356,8 @@ th { * -------------------------------------------------- */ .btn { + position: relative; + overflow: hidden; font-size: 0.26rem; font-weight: normal; line-height: 0.65rem; diff --git a/sdk/ui.less b/sdk/ui.less index fa4fbe8..00a6c5c 100644 --- a/sdk/ui.less +++ b/sdk/ui.less @@ -119,7 +119,7 @@ td, th { padding: 0;} * Button * -------------------------------------------------- */ -.btn { font-size: @font-size; font-weight: normal; line-height: @btn-base-height;height: @btn-base-height; display: inline-block; +.btn { position: relative;overflow:hidden;font-size: @font-size; font-weight: normal; line-height: @btn-base-height;height: @btn-base-height; display: inline-block; margin-bottom: 0; cursor: pointer; box-sizing: border-box;touch-action: manipulation;min-width: 4em;border-radius: @radius; user-select: none; text-align: center; vertical-align: middle; white-space: nowrap; border: 0; padding: 0 1em; } .btn > .ion{vertical-align: middle;font-size: 1.1em;}