From 55af27377be57c0d8e67a8d0670a73481891175f Mon Sep 17 00:00:00 2001 From: handongxun Date: Wed, 10 Apr 2019 17:29:33 +0800 Subject: [PATCH] =?UTF-8?q?update:=E4=BF=AE=E6=94=B9=E5=9E=82=E7=9B=B4?= =?UTF-8?q?=E5=B1=85=E4=B8=AD=E6=98=BE=E7=A4=BA=E6=96=B9=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E5=9C=A8=E6=94=AF=E4=BB=98=E5=AE=9D=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E4=B8=8D=E5=9E=82=E7=9B=B4=E5=B1=85=E4=B8=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-number-box/uni-number-box.vue | 3 +++ packages/uni-tag/uni-tag.vue | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/uni-number-box/uni-number-box.vue b/packages/uni-number-box/uni-number-box.vue index 8c5f77fd..84670707 100644 --- a/packages/uni-number-box/uni-number-box.vue +++ b/packages/uni-number-box/uni-number-box.vue @@ -128,6 +128,9 @@ height: 100%; line-height: $numbox-height; text-align: center; + display: inline-flex; + align-items: center; + justify-content: center; color: $uni-text-color; position: relative; } diff --git a/packages/uni-tag/uni-tag.vue b/packages/uni-tag/uni-tag.vue index d81d446a..1e53b88c 100644 --- a/packages/uni-tag/uni-tag.vue +++ b/packages/uni-tag/uni-tag.vue @@ -58,7 +58,8 @@ height: 60upx; line-height: calc(60upx - 2px); font-size: $uni-font-size-base; - display: inline-block; + display: inline-flex; + align-items: center; color: $uni-text-color; border-radius: $uni-border-radius-base; background-color: $uni-bg-color-grey;