Skip to content

Commit 636b79b

Browse files
committed
Administration: Use rounded corners for dashboard widgets drop zones.
Admin Cards and Metabox were modified in [61646] to better align with the modern WordPress design system, but dashboard widgets drop zones weren't updated as such. This changeset adds rounded corners to these drop zones for better consistency. Follow-up to [61646]. Props ocean90, niravsherasiya7707, stefanvelthuys, valentingrenier, manhar, huzaifaalmesbah, r1k0. Fixes #64787. See #64549. git-svn-id: https://develop.svn.wordpress.org/trunk@61877 602fd350-edb4-49c9-b593-d223f7449a82
1 parent f5dbc21 commit 636b79b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-admin/css/common.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2263,8 +2263,9 @@ html.wp-toolbar {
22632263
color: #a7aaad;
22642264
}
22652265

2266-
.sortable-placeholder {
2266+
.sortable-placeholder:not(.empty-container .sortable-placeholder) {
22672267
border: 1px dashed #c3c4c7;
2268+
border-radius: 8px;
22682269
margin-bottom: 20px;
22692270
}
22702271

src/wp-admin/css/dashboard.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
}
8484

8585
.is-dragging-metaboxes #dashboard-widgets .postbox-container .empty-container {
86-
outline: 2px dashed rgb(0, 0, 0, 0.15);
8786
background: rgb(0, 0, 0, 0.01);
8887
}
8988

0 commit comments

Comments
 (0)