Proper CSS specificity for columns-based dashboard grids.
props kovshenin. fixes #26354. Built from https://develop.svn.wordpress.org/trunk@26756 git-svn-id: http://core.svn.wordpress.org/trunk@26644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b25df0640a
commit
99c9e24814
@ -2344,35 +2344,35 @@ html.wp-toolbar {
|
|||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#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: left;
|
float: left;
|
||||||
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: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dashboard-widgets.columns-4 .postbox-container {
|
#wpbody-content #dashboard-widgets.columns-4 .postbox-container {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user