Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Avoid lost scroll position when modal open

kimsible17384fd85636
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss
index 2fce70c0d8..308a28658d 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