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 }}