Make WordPress Core

Changeset 60517


Ignore:
Timestamp:
07/28/2025 02:06:45 AM (7 months ago)
Author:
joedolson
Message:

Media: Add gap between Crop apply controls when stacked.

Switch the display of the Media editor Crop controls to flexbox and add a gap of 4px in both column and row directions. Gives space between buttons when they are stacked.

Props presskopp, audrasjb, rishabhwp, joedolson.
Fixes #63672.

File:
1 edited

Legend:

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

    r59550 r60517  
    902902}
    903903
     904.imgedit-panel-active .imgedit-group-controls > .imgedit-crop-apply {
     905    display: flex;
     906}
     907
     908.imgedit-crop-apply {
     909    gap: 4px;
     910    flex-wrap: wrap;
     911}
     912
    904913.wp_attachment_holder .imgedit-wrap .image-editor {
    905914    float: right;
Note: See TracChangeset for help on using the changeset viewer.