Skip to content

Commit 68194d5

Browse files
committed
Admin: Fix alignment of dashboard widgets and welcome panel.
Adjust padding and margins of dashboard widgets to properly align with the content width, matching the Welcome Panel. Props marc4, hbhalodia, noruzzaman, soyebsalar01, joedolson. Fixes #64739. git-svn-id: https://develop.svn.wordpress.org/trunk@61759 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 69aa284 commit 68194d5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-admin/css/dashboard.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
#dashboard-widgets-wrap {
4242
overflow: hidden;
43-
margin: 0 -4px;
43+
margin: 0 -8px;
4444
}
4545

4646
#dashboard-widgets .postbox {
@@ -59,8 +59,8 @@
5959
display: flow-root; /* avoid margin collapsing between parent and first/last child elements */
6060
/* Required min-height to make the jQuery UI Sortable drop zone work. */
6161
min-height: 0;
62-
margin-right: 8px;
63-
padding: 4px;
62+
margin: 0 8px 20px;
63+
padding: 0;
6464
}
6565

6666
#dashboard-widgets .meta-box-sortables:not(:empty) {

0 commit comments

Comments
 (0)