Skip to content

Commit 130a5ba

Browse files
GeoSotmdo
authored andcommitted
remove modal css override
1 parent 6e1c909 commit 130a5ba

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

scss/_modal.scss

+2-11
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
// .modal-content - actual modal w/ bg and corners and stuff
55

66

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-
177
// Container that the modal scrolls within
188
.modal {
199
position: fixed;
@@ -23,7 +13,8 @@
2313
display: none;
2414
width: 100%;
2515
height: 100%;
26-
overflow: hidden;
16+
overflow-x: hidden;
17+
overflow-y: auto;
2718
// Prevent Chrome on Windows from adding a focus outline. For details, see
2819
// https://github.com/twbs/bootstrap/pull/10951.
2920
outline: 0;

0 commit comments

Comments
 (0)