diff --git a/packages/vant/src/popup/index.less b/packages/vant/src/popup/index.less index 240ef9536..ab4a72243 100644 --- a/packages/vant/src/popup/index.less +++ b/packages/vant/src/popup/index.less @@ -25,10 +25,8 @@ &--center { top: 50%; - left: 0; - right: 0; - margin: 0 auto; - transform: translateY(-50%); + left: 50%; + transform: translate3d(-50%, -50%, 0); &.van-popup--round { border-radius: var(--van-popup-round-border-radius);