Make WordPress Core

Changeset 61877


Ignore:
Timestamp:
03/10/2026 09:35:52 AM (2 weeks ago)
Author:
audrasjb
Message:

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.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r61876 r61877  
    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}
  • trunk/src/wp-admin/css/dashboard.css

    r61852 r61877  
    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}
Note: See TracChangeset for help on using the changeset viewer.