mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 18:00:27 +08:00
Restore "fix(Popup&Toast): invalid adaptive width (#10961)"
This reverts commit aa1689fed8e58d52db2367263ccbcc08853ff848.
This commit is contained in:
parent
1d87343195
commit
86adc66dd9
@ -23,8 +23,10 @@ body {
|
|||||||
|
|
||||||
&--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-radius);
|
border-radius: var(--van-popup-round-radius);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user