From: GeoSot Date: Sun, 4 Apr 2021 21:24:04 +0000 (+0300) Subject: remove modal css override X-Git-Tag: v5.0.1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=130a5ba1df272916dcc66f3fe1a36cfedcb7667b;p=thirdparty%2Fbootstrap.git remove modal css override --- diff --git a/scss/_modal.scss b/scss/_modal.scss index 513898644d..4a0e3b861d 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -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;