mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-20 13:29:16 +08:00
fix(Popup&Toast): invalid adaptive width (#10961)
* fix(Popup&Toast):Invalid adaptive width * Update index.less Co-authored-by: neverland <jait.chen@foxmail.com>
This commit is contained in:
parent
4b2e06b34d
commit
b6dd0cb36c
@ -25,8 +25,10 @@
|
||||
|
||||
&--center {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
transform: translateY(-50%);
|
||||
|
||||
&.van-popup--round {
|
||||
border-radius: var(--van-popup-round-border-radius);
|
||||
|
Loading…
x
Reference in New Issue
Block a user