diff options
Diffstat (limited to 'client/src/sass/bootstrap.scss')
-rw-r--r-- | client/src/sass/bootstrap.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 0dc58a7c9..dd5824b7a 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -143,6 +143,14 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
143 | } | 143 | } |
144 | } | 144 | } |
145 | 145 | ||
146 | |||
147 | // On desktop browsers, make the content and header horizontally sticked to right not move when modal open and close | ||
148 | .modal-open { | ||
149 | overflow-y: scroll !important; // Make sure vertical scroll bar is always visible on desktop browsers to get disabled scrollbar effect | ||
150 | position: fixed; // Fix the body position to disable any scroll content | ||
151 | width: 100vw; // Make sure the content fits all the available width when position: fixed | ||
152 | } | ||
153 | |||
146 | // Nav customizations | 154 | // Nav customizations |
147 | .nav .nav-link { | 155 | .nav .nav-link { |
148 | display: flex !important; | 156 | display: flex !important; |