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
This commit is contained in:
Daryl Koopersmith 2012-11-21 08:44:22 +00:00
parent 46bc46d88a
commit 693404f946
1 changed files with 2 additions and 0 deletions

View File

@ -472,6 +472,8 @@
left: 0; left: 0;
margin: 0 auto; margin: 0 auto;
overflow: hidden; overflow: hidden;
max-width: 100%;
max-height: 100%;
} }
/* Vertically center the icons. */ /* Vertically center the icons. */