From 693404f946f9e6814b48d94525c0e937f4b9d9e7 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Wed, 21 Nov 2012 08:44:22 +0000 Subject: [PATCH] Media: Ensure icons stay within the bounds of their surrounding view. fixes #22522, see #21390. git-svn-id: http://core.svn.wordpress.org/trunk@22739 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 ec70294880..902b07a799 100644 --- a/wp-includes/css/media-views.css +++ b/wp-includes/css/media-views.css @@ -472,6 +472,8 @@ left: 0; margin: 0 auto; overflow: hidden; + max-width: 100%; + max-height: 100%; } /* Vertically center the icons. */