mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
Stop background shift on modal open
This commit is contained in:
parent
fca6cc7ede
commit
06b28991a7
1 changed files with 12 additions and 0 deletions
12
gui/app/styles/bootstrap.scss
vendored
12
gui/app/styles/bootstrap.scss
vendored
|
@ -109,6 +109,10 @@ $link-hover-decoration: none;
|
|||
|
||||
body.modal-open {
|
||||
padding-right: 0 !important;
|
||||
|
||||
// Do not scroll body to top.
|
||||
// See: https://stackoverflow.com/questions/21604674/bootstrap-modal-background-jumps-to-top-on-toggle/21881894
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.modal-header-white {
|
||||
|
@ -125,3 +129,11 @@ body.modal-open {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Bootstrap override that removes gutter space on smaller screens
|
||||
// @media (max-width: 1200px) {
|
||||
// .container {
|
||||
// width: 100%;
|
||||
// max-width: none;
|
||||
// }
|
||||
// }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue