mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-20 21:39:15 +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 {
|
&--center {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 0;
|
||||||
transform: translate3d(-50%, -50%, 0);
|
right: 0;
|
||||||
|
margin: 0 auto;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
|
||||||
&.van-popup--round {
|
&.van-popup--round {
|
||||||
border-radius: var(--van-popup-round-border-radius);
|
border-radius: var(--van-popup-round-border-radius);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user