fix(info): fix style error (#3823)

fix #3817
This commit is contained in:
rex 2020-12-08 15:52:32 +08:00 committed by GitHub
parent f17e29309a
commit f8c09af273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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%;

View File

@ -2,6 +2,6 @@
<view
wx:if="{{ info !== null && info !== '' || dot }}"
class="custom-class van-info {{ utils.bem('info', { dot }) }}"
class="van-info {{ utils.bem('info', { dot }) }} custom-class"
style="{{ customStyle }}"
>{{ dot ? '' : info }}</view>