From 4a9049c7aa2f292c3208c2a29a2abd6c8eb076b9 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Thu, 7 Jun 2018 14:09:35 +0200 Subject: [PATCH] Fix CSS change in dialog overlays breaking some cases --- Resources/Scripts/styles/browser.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Resources/Scripts/styles/browser.css b/Resources/Scripts/styles/browser.css index 4d0a629b..afb62216 100644 --- a/Resources/Scripts/styles/browser.css +++ b/Resources/Scripts/styles/browser.css @@ -248,17 +248,21 @@ a[data-full-url] { /* Fix modal dialogs breaking when window size is too small */ /************************************************************/ +.ovl:before, .overlay:before { + display: none !important; +} + .ovl, .overlay { flex-direction: column; justify-content: center; } -.ovl[style="display: block;"], .overlay { +.ovl[style="display: block;"] { display: flex !important; } -.overlay:before, .ovl:before { - display: none !important; +.overlay { + display: flex; } /*******************************************/