aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/bootstrap.scss
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-07-13 23:51:46 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-07-23 14:32:04 +0200
commit8110705d020a0025ce307a9c8ee5ba9bfe8e9323 (patch)
treec90d6f4e3dfacb92ccfba8cf00b6980b39fd9b69 /client/src/sass/bootstrap.scss
parent2291a412d25bd139398ca9e7a5131d0c1e4ffd7d (diff)
downloadPeerTube-8110705d020a0025ce307a9c8ee5ba9bfe8e9323.tar.gz
PeerTube-8110705d020a0025ce307a9c8ee5ba9bfe8e9323.tar.zst
PeerTube-8110705d020a0025ce307a9c8ee5ba9bfe8e9323.zip
Fix: disable vertical scroll instead of hide on desktop browsers
Diffstat (limited to 'client/src/sass/bootstrap.scss')
-rw-r--r--client/src/sass/bootstrap.scss8
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;