Skip to content

Commit 9156dc3

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@60517 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a161b2b commit 9156dc3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/wp-admin/css/media.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,15 @@ border color while dragging a file over the uploader drop area */
901901
display: block;
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;
906915
width: 250px;

0 commit comments

Comments
 (0)