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.
Built from https://develop.svn.wordpress.org/trunk@56189


git-svn-id: http://core.svn.wordpress.org/trunk@55701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2023-07-10 22:11:24 +00:00
parent 9240a9350d
commit 3648049e48
5 changed files with 19 additions and 13 deletions

View File

@ -901,13 +901,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%;
}
}
@ -1209,7 +1209,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;

File diff suppressed because one or more lines are too long

View File

@ -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;

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-beta3-56188';
$wp_version = '6.3-beta3-56189';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.