From 130a5ba1df272916dcc66f3fe1a36cfedcb7667b Mon Sep 17 00:00:00 2001 From: GeoSot Date: Mon, 5 Apr 2021 00:24:04 +0300 Subject: [PATCH] remove modal css override --- scss/_modal.scss | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) 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;