[Improvement] Popup: limit max height (#1256)

This commit is contained in:
neverland 2018-06-09 22:47:42 +08:00 committed by GitHub
parent 902352a0c5
commit 8db65c7f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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%;