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

props koopersmith.
fixes #22657.



git-svn-id: http://core.svn.wordpress.org/trunk@22959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-12-01 01:44:15 +00:00
parent f80e842fe6
commit c7fd4349ee

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;
} }
/** /**