mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[Improvement] Popup: limit max height (#1256)
This commit is contained in:
@@ -16,11 +16,14 @@
|
||||
|
||||
&-popup {
|
||||
position: fixed;
|
||||
background-color: $white;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
max-height: 100%;
|
||||
overflow-y: auto;
|
||||
background-color: $white;
|
||||
transition: .2s ease-out;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
|
||||
&--top {
|
||||
width: 100%;
|
||||
|
Reference in New Issue
Block a user