From 229c5c9be3865bee4713fa4cabfd10fcc542cc25 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 1 Dec 2012 01:44:15 +0000 Subject: [PATCH] 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 --- wp-includes/css/media-views.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/css/media-views.css b/wp-includes/css/media-views.css index d42edf1ad0..a8ad639642 100644 --- a/wp-includes/css/media-views.css +++ b/wp-includes/css/media-views.css @@ -210,6 +210,7 @@ background: #f5f5f5; border-left: 1px solid #dfdfdf; overflow: auto; + -webkit-overflow-scrolling: touch; } .hide-toolbar .media-sidebar { @@ -472,6 +473,7 @@ .attachments { margin: 0; padding-right: 16px; + -webkit-overflow-scrolling: touch; } /**