Modals: Significantly improve the touch scrolling experience.
This particularly fixes the attachment and plugin details modals, but also improves other modals such as wpLink and interim login. props iseulde. fixes #31609, #31611. see #31610, #31612. git-svn-id: https://develop.svn.wordpress.org/trunk@32073 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c316465e03
commit
1ad6f40e53
|
@ -227,6 +227,7 @@ body.modal-open {
|
||||||
|
|
||||||
body.mobile.modal-open #wpwrap {
|
body.mobile.modal-open #wpwrap {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
position: fixed;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2200,6 +2201,7 @@ div.action-links {
|
||||||
|
|
||||||
#plugin-information-scrollable {
|
#plugin-information-scrollable {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
.media-frame {
|
.media-frame {
|
||||||
font-family: "Open Sans", sans-serif;
|
font-family: "Open Sans", sans-serif;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.media-frame input,
|
.media-frame input,
|
||||||
|
|
Loading…
Reference in New Issue