mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Improvement] Popup: limit max height (#1256)
This commit is contained in:
parent
902352a0c5
commit
8db65c7f5b
@ -16,11 +16,14 @@
|
|||||||
|
|
||||||
&-popup {
|
&-popup {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background-color: $white;
|
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate3d(-50%, -50%, 0);
|
max-height: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
|
background-color: $white;
|
||||||
transition: .2s ease-out;
|
transition: .2s ease-out;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
transform: translate3d(-50%, -50%, 0);
|
||||||
|
|
||||||
&--top {
|
&--top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user