Media: Fix admin image editor layout at intermediary widths.

Follow up to [56189], which resolved the initial problem but created new problems with control proximity on wide monitors. Change admin image editor panels to use flex so panels only occupy the space needed.

Props joedolson, sabernhardt, mikinc860.
Fixes #58692.

git-svn-id: https://develop.svn.wordpress.org/trunk@56242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joe Dolson
2023-07-16 15:57:14 +00:00
parent 3349f1a527
commit 9562f40776
+4 -8
View File
@@ -899,15 +899,10 @@ border color while dragging a file over the uploader drop area */
}
.imgedit-panel-content {
display: grid;
grid-template-columns: 1fr;
display: flex;
flex-wrap: wrap;
gap: 20px;
}
@media screen and (min-width: 1200px) {
.imgedit-panel-content.imgedit-panel-tools {
grid-template-columns: 50% 50%;
}
margin-bottom: 20px;
}
.imgedit-settings {
@@ -1129,6 +1124,7 @@ border color while dragging a file over the uploader drop area */
display: flex;
column-gap: 4px;
align-items: start;
flex-wrap: wrap;
}
.imgedit-popup-menu {