mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
Restore "fix(Popup&Toast): invalid adaptive width (#10961)"
This reverts commit aa1689fed8.
This commit is contained in:
@@ -23,8 +23,10 @@ body {
|
||||
|
||||
&--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-radius);
|
||||
|
||||
Reference in New Issue
Block a user