We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a70164d + ad79074 commit e5c0523Copy full SHA for e5c0523
styles/bootstrap/_modal.scss
@@ -1,11 +1,11 @@
1
-// .modal-open - body class for killing the scroll
+// .no-scroll - body class for killing the scroll
2
// .modal - container to scroll within
3
// .modal-dialog - positioning shell for the actual modal
4
// .modal-content - actual modal w/ bg and corners and stuff
5
6
7
// Kill the scroll on the body
8
-.modal-open {
+.no-scroll {
9
overflow: hidden;
10
}
11
@@ -26,7 +26,7 @@
26
// gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
27
// See also https://github.com/twbs/bootstrap/issues/17695
28
29
- .modal-open & {
+ .no-scroll & {
30
overflow-x: hidden;
31
overflow-y: auto;
32
0 commit comments