]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove modal css override
authorGeoSot <geo.sotis@gmail.com>
Sun, 4 Apr 2021 21:24:04 +0000 (00:24 +0300)
committerMark Otto <otto@github.com>
Thu, 13 May 2021 15:55:28 +0000 (08:55 -0700)
scss/_modal.scss

index 513898644d269facf02002502d5e34819c67939e..4a0e3b861dcb642b6b75230b3a668b5c2d6f8324 100644 (file)
@@ -4,16 +4,6 @@
 // .modal-content   - actual modal w/ bg and corners and stuff
 
 
-.modal-open {
-  // Kill the scroll on the body
-  overflow: hidden;
-
-  .modal {
-    overflow-x: hidden;
-    overflow-y: auto;
-  }
-}
-
 // Container that the modal scrolls within
 .modal {
   position: fixed;
@@ -23,7 +13,8 @@
   display: none;
   width: 100%;
   height: 100%;
-  overflow: hidden;
+  overflow-x: hidden;
+  overflow-y: auto;
   // Prevent Chrome on Windows from adding a focus outline. For details, see
   // https://github.com/twbs/bootstrap/pull/10951.
   outline: 0;