From d6ee01dcaadd0aef959af8fab9a6c992bb769eef Mon Sep 17 00:00:00 2001 From: Octavian Ciubotaru Date: Tue, 23 Feb 2021 14:02:47 +0200 Subject: [PATCH] #356 Opened modal no longer offsets the content in background --- .../toolkit/forms/wicket/styles/BaseStyles.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/forms/src/main/java/org/devgateway/toolkit/forms/wicket/styles/BaseStyles.css b/forms/src/main/java/org/devgateway/toolkit/forms/wicket/styles/BaseStyles.css index 7fb763a1..94c98f83 100644 --- a/forms/src/main/java/org/devgateway/toolkit/forms/wicket/styles/BaseStyles.css +++ b/forms/src/main/java/org/devgateway/toolkit/forms/wicket/styles/BaseStyles.css @@ -4,11 +4,6 @@ */ html { - /* - * Always show page scroll-bar to prevent side-movement when hovering over items that are extending their height and - * suddenly the content doesn't fit above the fold. - */ - overflow-y: scroll; position: relative; min-height: 100%; } @@ -16,6 +11,12 @@ html { body { /* Margin bottom by footer height */ margin-bottom: 50px !important; + + /* + * Always show page scroll-bar to prevent side-movement when hovering over items that are extending their height and + * suddenly the content doesn't fit above the fold. + */ + overflow-y: scroll; } .mainHeader.with-navbar-default .navbar-default {