Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoSot <geo.sotis@gmail.com>2021-04-05 00:24:04 +0300
committerMark Otto <otto@github.com>2021-05-13 18:55:28 +0300
commit130a5ba1df272916dcc66f3fe1a36cfedcb7667b (patch)
tree73ab2a2989221c7ae843631a748c754942414a07
parent6e1c9096f08ed21063fd6ba16aa998a3ac4149f9 (diff)
remove modal css override
-rw-r--r--scss/_modal.scss13
1 files 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;