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
This commit is contained in:
Andrew Nacin 2013-12-06 23:46:46 +00:00
parent 6b159da845
commit ee56a8dcb3

View File

@ -2344,35 +2344,35 @@ html.wp-toolbar {
float: left; float: left;
} }
#dashboard-widgets.columns-1 .postbox-container { #wpbody-content #dashboard-widgets.columns-1 .postbox-container {
width: 100%; width: 100%;
} }
#dashboard-widgets.columns-2 .postbox-container { #wpbody-content #dashboard-widgets.columns-2 .postbox-container {
width: 49.5%; width: 49.5%;
} }
#dashboard-widgets.columns-2 #postbox-container-2, #wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,
#dashboard-widgets.columns-2 #postbox-container-3, #wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,
#dashboard-widgets.columns-2 #postbox-container-4 { #wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 {
float: right; float: right;
width: 50.5%; width: 50.5%;
} }
#dashboard-widgets.columns-3 .postbox-container { #wpbody-content #dashboard-widgets.columns-3 .postbox-container {
width: 33.5%; width: 33.5%;
} }
#dashboard-widgets.columns-3 #postbox-container-1 { #wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 {
width: 33%; width: 33%;
} }
#dashboard-widgets.columns-3 #postbox-container-3, #wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,
#dashboard-widgets.columns-3 #postbox-container-4 { #wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 {
float: right; float: right;
} }
#dashboard-widgets.columns-4 .postbox-container { #wpbody-content #dashboard-widgets.columns-4 .postbox-container {
width: 25%; width: 25%;
} }