Longer modals are now scrollable.

This commit is contained in:
Aditya Raisinghani 2014-03-27 12:31:29 +05:30
parent 6208e8e324
commit deb3ddeece
2 changed files with 8 additions and 8 deletions
app/styles

View file

@ -1,16 +1,12 @@
@import "bootstrap/variables" @import "bootstrap/variables"
@import "bootstrap/mixins" @import "bootstrap/mixins"
::-webkit-scrollbar
display: none
html html
background-color: #2f261d background-color: #2f261d
html, body
// For level loading view wings
overflow-x: hidden
body
overflow: hidden
// https://github.com/twbs/bootstrap/issues/9237 -- need a version that's not !important // https://github.com/twbs/bootstrap/issues/9237 -- need a version that's not !important
.secret .secret
display: none display: none
@ -171,7 +167,7 @@ a[data-toggle="modal"]
width: 100% width: 100%
.modal .modal
overflow: hidden !important overflow-y: auto !important
.wait .wait
h3 h3
text-align: center text-align: center

View file

@ -1,6 +1,10 @@
@import "app/styles/bootstrap/mixins" @import "app/styles/bootstrap/mixins"
@import "app/styles/mixins" @import "app/styles/mixins"
#level-loading-view
overflow-x: hidden
#level-view #level-view
margin: 0 auto margin: 0 auto
@include user-select(none) @include user-select(none)