#58979 closed defect (bug) (fixed)
Layout breaking while editing an Image from "Image Details Edit" screen.
Reported by: | deepakvijayan | Owned by: | joedolson |
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.3 |
Component: | Media | Keywords: | has-patch commit |
Focuses: | ui, css, administration | Cc: |
Description
Bug Report
Description
The layout is breaking while editing an Image from "Image Details Edit" screen.
Environment
- WordPress: 6.3-RC3
- PHP: 7.4.12
- Server: Apache/2.4.46 (Unix) OpenSSL/1.0.2u PHP/7.4.12 mod_wsgi/3.5 Python/2.7.13 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11 Perl/v5.30.1
- Database: mysqli (Server: 5.7.32 / Client: mysqlnd 7.4.12)
- Browser: Chrome 114.0.0.0 (macOS)
- Theme: Twenty Twenty-Three 1.2
- MU-Plugins: None activated
- Plugins:
- WordPress Beta Tester 3.5.2
Steps to Reproduce
- Open Media -> Library
- Select an Image
- Click the "Edit Image" button below the Image
- Click "Crop Image". Crop settings are visible to the right of the Image
- Now Click "Scale Image". Layout breaks.
- 🐞 Bug occurs.
Expected Results
- ✅ Layout Should not break. At the very least, it should be consistent for scale and crop.
Actual Results
- ❌ Layout breaks and lack of consistency.
I am attaching Screenshots for reference.
Attachments (7)
Change History (18)
#3
@
16 months ago
- Focuses administration added; javascript template removed
- Severity changed from major to normal
This ticket was mentioned in Slack in #core by priethor. View the logs.
16 months ago
#5
@
8 months ago
- Milestone changed from Awaiting Review to 6.6
- Owner set to joedolson
- Status changed from new to accepted
Related: #58794
This ticket was mentioned in PR #6619 on WordPress/wordpress-develop by @khokansardar.
7 months ago
#6
- Keywords has-patch added; needs-patch removed
Fix layout is breaking while editing an Image from "Image Details Edit" screen on scale and cropping.
Trac ticket: #58979
#8
@
7 months ago
- Keywords commit added; needs-testing removed
This patch expands the side-by-side visibility of the edit panel inside two breakpoints, making the change in layout more predictable and a better match for expectations.
Previously, the edit panel dropped below between as 1200px and 1494px viewport and below 1195px.
Now, the edit panel drops between 1200px and 1402px, then below 1102px.
This looks good; marking for commit.
@joedolson commented on PR #6619:
7 months ago
#11
In r58214
You've raised a valid point. I think showing the scale button as a block element would be advantageous. The main problem lies in the "imgedit-settings" class, where the max-width is set to 400px. If we change it to 250px, the issue will be resolved.