mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 12:01:40 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user