From cc9d2ebbacf333ad261783967adb8199c22aee46 Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 12 Sep 2014 16:01:25 +1000 Subject: [PATCH] Modal styling fixes for scrolling on mobile view --- app/assets/stylesheets/darkswarm/modals.css.sass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/darkswarm/modals.css.sass b/app/assets/stylesheets/darkswarm/modals.css.sass index 5e6c06dcfd..e6303a4cd7 100644 --- a/app/assets/stylesheets/darkswarm/modals.css.sass +++ b/app/assets/stylesheets/darkswarm/modals.css.sass @@ -12,7 +12,9 @@ dialog, .reveal-modal // Small - when modal IS full screen @media only screen and (max-width: 640px) - max-height: auto + max-height: initial + // This is needed to make the height not the height of whole content page + min-height: 100% position: absolute !important top: 0 left: 0