mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-09 11:40:04 +00:00
Media: Fix responsive views in image editor
Adjust breakpoints for mid-range responsive views to prevent the save panel from overflowing other sections. Props wildworks, mikinc860, mukesh27, sabernhardt, dhrumilk. Fixes #58692. git-svn-id: https://develop.svn.wordpress.org/trunk@56189 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -900,13 +900,13 @@ border color while dragging a file over the uploader drop area */
|
||||
|
||||
.imgedit-panel-content {
|
||||
display: grid;
|
||||
grid-template-columns: 640px 1fr;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1120px) {
|
||||
.imgedit-panel-content {
|
||||
grid-template-columns: 1fr;
|
||||
@media screen and (min-width: 1200px) {
|
||||
.imgedit-panel-content.imgedit-panel-tools {
|
||||
grid-template-columns: 50% 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1208,7 +1208,10 @@ span.imgedit-scale-warn {
|
||||
|
||||
.image-editor .imgedit-scale-controls input[type="text"],
|
||||
.image-editor .imgedit-crop-ratio input[type="text"],
|
||||
.image-editor .imgedit-crop-sel input[type="text"] {
|
||||
.image-editor .imgedit-crop-sel input[type="text"],
|
||||
.image-editor .imgedit-scale-controls input[type="number"],
|
||||
.image-editor .imgedit-crop-ratio input[type="number"],
|
||||
.image-editor .imgedit-crop-sel input[type="number"] {
|
||||
width: 80px;
|
||||
font-size: 14px;
|
||||
padding: 0 8px;
|
||||
|
||||
Reference in New Issue
Block a user