Keep height of modal, dialog within screen height

This commit is contained in:
Kristina Lim
2018-08-16 00:19:36 +08:00
parent a37e9f1b87
commit f03eb02269

View File

@@ -21,9 +21,10 @@ dialog
// Small - when modal IS full screen
@media only screen and (max-width: 640px) {
height: 500px;
left: 0;
max-height: 100%;
position: absolute !important;
top: 0;
left: 0;
}
// Medium and up - when modal IS NOT full screen