Media: Add -webkit-overflow-scrolling for a smoother mobile/iOS experience.

props koopersmith.
fixes #22657.



git-svn-id: https://develop.svn.wordpress.org/trunk@22959 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-12-01 01:44:15 +00:00
parent ce238d39ef
commit 229c5c9be3

View File

@ -210,6 +210,7 @@
background: #f5f5f5; background: #f5f5f5;
border-left: 1px solid #dfdfdf; border-left: 1px solid #dfdfdf;
overflow: auto; overflow: auto;
-webkit-overflow-scrolling: touch;
} }
.hide-toolbar .media-sidebar { .hide-toolbar .media-sidebar {
@ -472,6 +473,7 @@
.attachments { .attachments {
margin: 0; margin: 0;
padding-right: 16px; padding-right: 16px;
-webkit-overflow-scrolling: touch;
} }
/** /**