From b60c9daf21f3fb7c9e16d7a1b999845f46083f39 Mon Sep 17 00:00:00 2001 From: summerscope Date: Tue, 29 Jul 2014 12:56:38 +1000 Subject: [PATCH] Modal tweaks to make interior container scroll when too high --- app/assets/stylesheets/darkswarm/modals.css.sass | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/assets/stylesheets/darkswarm/modals.css.sass b/app/assets/stylesheets/darkswarm/modals.css.sass index ba46a984ae..182ab5bec0 100644 --- a/app/assets/stylesheets/darkswarm/modals.css.sass +++ b/app/assets/stylesheets/darkswarm/modals.css.sass @@ -5,6 +5,17 @@ dialog, .reveal-modal border: none outline: none padding: 1rem + div + overflow: scroll + @media only screen and (min-width: 40.063em) + max-height: 580px + @media all and (max-width: 768px) + max-height: 440px + @media all and (max-width: 640px) + max-height: 400px + @media all and (max-width: 640px) + max-height: inherit + overflow: scroll .reveal-modal-bg background-color: rgba(0,0,0,0.65)