mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(Icon): info position (#2194)
This commit is contained in:
parent
1e506513de
commit
ad657c7c03
@ -3,14 +3,14 @@
|
||||
|
||||
.van-info {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
transform: translateX(50%);
|
||||
transform: translate(50%, -50%);
|
||||
transform-origin: 100%;
|
||||
|
||||
.theme(top, 'calc(@info-size / -2)');
|
||||
.theme(min-width, '@info-size');
|
||||
.theme(padding, '@info-padding');
|
||||
.theme(color, '@info-color');
|
||||
|
Loading…
x
Reference in New Issue
Block a user