From ee56a8dcb3d31e5d4645e8c221b25b0f988dd313 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 6 Dec 2013 23:46:46 +0000 Subject: [PATCH] Proper CSS specificity for columns-based dashboard grids. props kovshenin. fixes #26354. git-svn-id: https://develop.svn.wordpress.org/trunk@26756 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 52ecfdf560..937cebde83 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -2344,35 +2344,35 @@ html.wp-toolbar { float: left; } -#dashboard-widgets.columns-1 .postbox-container { +#wpbody-content #dashboard-widgets.columns-1 .postbox-container { width: 100%; } -#dashboard-widgets.columns-2 .postbox-container { +#wpbody-content #dashboard-widgets.columns-2 .postbox-container { width: 49.5%; } -#dashboard-widgets.columns-2 #postbox-container-2, -#dashboard-widgets.columns-2 #postbox-container-3, -#dashboard-widgets.columns-2 #postbox-container-4 { +#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2, +#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3, +#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 { float: right; width: 50.5%; } -#dashboard-widgets.columns-3 .postbox-container { +#wpbody-content #dashboard-widgets.columns-3 .postbox-container { width: 33.5%; } -#dashboard-widgets.columns-3 #postbox-container-1 { +#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 { width: 33%; } -#dashboard-widgets.columns-3 #postbox-container-3, -#dashboard-widgets.columns-3 #postbox-container-4 { +#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3, +#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 { float: right; } -#dashboard-widgets.columns-4 .postbox-container { +#wpbody-content #dashboard-widgets.columns-4 .postbox-container { width: 25%; }