]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Avoid lost scroll position when modal open
authorkimsible <kimsible@users.noreply.github.com>
Fri, 7 Aug 2020 21:44:26 +0000 (23:44 +0200)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 10 Aug 2020 06:18:54 +0000 (08:18 +0200)
client/src/sass/bootstrap.scss

index 2fce70c0d89944ff0028b4f6cfe6f0e73e48e249..308a28658d33316b3b0d40037abb0f9cc46c8919 100644 (file)
@@ -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