Prevent scrolling beneath modals on mobile devices by removing overflow from #wpwrap when a modal is open.
Fixes #29909 Props avryl Built from https://develop.svn.wordpress.org/trunk@30707 git-svn-id: http://core.svn.wordpress.org/trunk@30697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -223,6 +223,11 @@ body.modal-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.mobile.modal-open #wpwrap {
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
iframe,
|
||||
img {
|
||||
border: 0;
|
||||
|
||||
Reference in New Issue
Block a user