From 2e28ad2c6e71f52be64ead6d5c14a9d2ed046d25 Mon Sep 17 00:00:00 2001 From: Kristina Lim Date: Thu, 16 Aug 2018 00:19:36 +0800 Subject: [PATCH] Keep height of modal, dialog within screen height --- app/assets/stylesheets/darkswarm/modals.css.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/darkswarm/modals.css.scss b/app/assets/stylesheets/darkswarm/modals.css.scss index a74f9693dbc..bba448fa62a 100644 --- a/app/assets/stylesheets/darkswarm/modals.css.scss +++ b/app/assets/stylesheets/darkswarm/modals.css.scss @@ -20,6 +20,7 @@ dialog, .reveal-modal { // Small - when modal IS full screen @media only screen and (max-width: 640px) { height: 500px; + max-height: 100%; position: absolute !important; top: 0; left: 0;