From f8c09af273229487431447b41e7248bec053d2f5 Mon Sep 17 00:00:00 2001 From: rex Date: Tue, 8 Dec 2020 15:52:32 +0800 Subject: [PATCH] fix(info): fix style error (#3823) fix #3817 --- packages/info/index.less | 3 +-- packages/info/index.wxml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/info/index.less b/packages/info/index.less index a52a1ab9..9ec06be1 100644 --- a/packages/info/index.less +++ b/packages/info/index.less @@ -5,12 +5,11 @@ position: absolute; top: 0; right: 0; - display: flex; + display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; white-space: nowrap; - text-align: center; transform: translate(50%, -50%); transform-origin: 100%; diff --git a/packages/info/index.wxml b/packages/info/index.wxml index 3112dfc9..b39b5245 100644 --- a/packages/info/index.wxml +++ b/packages/info/index.wxml @@ -2,6 +2,6 @@ {{ dot ? '' : info }}