From a3eccc31e3ca571f24e2ea9c19fbe05a2c6d2f1e Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sat, 7 Dec 2013 18:42:06 +0000 Subject: [PATCH] Dashboard: set two columns as default for IE8 (as it doesn't support @media rules), see #25824. git-svn-id: https://develop.svn.wordpress.org/trunk@26784 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 5b6c3b29d1..52fc02ac73 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -2398,6 +2398,24 @@ html.wp-toolbar { min-height: 0; } +.ie8 #wpbody-content #dashboard-widgets .postbox-container { + width: 49.5%; +} + +.ie8 #wpbody-content #dashboard-widgets #postbox-container-2, +.ie8 #wpbody-content #dashboard-widgets #postbox-container-3, +.ie8 #wpbody-content #dashboard-widgets #postbox-container-4 { + float: right; + width: 50.5%; +} + +.ie8 #dashboard-widgets #postbox-container-3 .empty-container, +.ie8 #dashboard-widgets #postbox-container-4 .empty-container { + border: 0 none; + height: 0; + min-height: 0; +} + #poststuff { padding-top: 10px; min-width: 763px;