From 04cc69db016d59ed68892a4950adb6fb562015fe 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: https://develop.svn.wordpress.org/trunk@22739 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 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. */