From 17384fd85636b9fe672ecb520ba6f2266483d4b1 Mon Sep 17 00:00:00 2001 From: kimsible Date: Fri, 7 Aug 2020 23:44:26 +0200 Subject: Avoid lost scroll position when modal open --- client/src/sass/bootstrap.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client/src/sass/bootstrap.scss') diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 2fce70c0d..308a28658 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss @@ -147,8 +147,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close .modal-open { overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect - position: fixed; // Fix the body position to disable any scroll content - width: 100vw; // Make sure the content fits all the available width when position: fixed + width: 100vw; // Make sure the content fits all the available width } // Nav customizations -- cgit v1.2.3