From 5c1fe4033fc39f0eadf6f4694306da5fd92df9d9 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 16 Jan 2014 21:55:29 +0000 Subject: [PATCH] Widgets: fix scaling of extra-wide widgets on 480px and 320px devices, fixes #26701 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@26963 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 87ba8e5e40..44b25669c5 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -11405,6 +11405,17 @@ li#wp-admin-bar-menu-toggle { width: 100%; float: none; } + + div.widget { + margin: 0 auto 10px !important; + max-width: 480px; + } +} + +@media screen and (max-width: 320px) { + div.widget { + max-width: 320px; + } } @media only screen and (max-width: 768px) {