Disable background page scrolling when modals are open.

props celloexpressions.
fixes #29074.

git-svn-id: https://develop.svn.wordpress.org/trunk@29346 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2014-08-01 20:14:43 +00:00
parent 4465f7922a
commit 257a3ad0e3
5 changed files with 14 additions and 6 deletions
+4
View File
@@ -218,6 +218,10 @@ body.iframe {
padding-top: 1px;
}
body.modal-open {
overflow: hidden;
}
iframe,
img {
border: 0;
-4
View File
@@ -409,10 +409,6 @@
z-index: 10;
}
body.theme-overlay-open {
overflow: hidden;
}
.theme-overlay .theme-header {
position: absolute;
top: 0;