We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e1c909 commit 130a5baCopy full SHA for 130a5ba
scss/_modal.scss
@@ -4,16 +4,6 @@
4
// .modal-content - actual modal w/ bg and corners and stuff
5
6
7
-.modal-open {
8
- // Kill the scroll on the body
9
- overflow: hidden;
10
-
11
- .modal {
12
- overflow-x: hidden;
13
- overflow-y: auto;
14
- }
15
-}
16
17
// Container that the modal scrolls within
18
.modal {
19
position: fixed;
@@ -23,7 +13,8 @@
23
display: none;
24
width: 100%;
25
height: 100%;
26
+ overflow-x: hidden;
+ overflow-y: auto;
27
// Prevent Chrome on Windows from adding a focus outline. For details, see
28
// https://github.com/twbs/bootstrap/pull/10951.
29
20
outline: 0;
0 commit comments