Opened 13 days ago
Last modified 11 days ago
#64937 new defect (bug)
Image editor: scale and crop input size mismatch with button and info icon not using new color
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Media | Keywords: | |
| Focuses: | Cc: |
Description
In the Image Editor (Scale and Crop sections), the UI appears inconsistent. Input fields are not using compact styles, button size does not align with inputs, and the info icon uses old color.
Related discussion:
#64759 comment:9
PR #11091 comment
Attachments (1)
Change History (4)
#2
@
12 days ago
Expected compact styles Inputs:
min-height: 32px; line-height: 2.14285714; padding: 0 8px;
And the info icon should use:
var(--wp-admin-theme-color, #3858e9);
#3
in reply to:
↑ 1
@
11 days ago
input fields are set to
min-height: 40pxin/wp-admin/css/forms.css?ver=7.0-beta6-62085-src. Reducing them to32pxmight solve the size mismatch.
Please note that the 40px height is intentional and cannot be changed to a default size of 32px. I think we should apply new 40px default size for buttons as well.
Note: See
TracTickets for help on using
tickets.
input fields are set to
min-height: 40pxin/wp-admin/css/forms.css?ver=7.0-beta6-62085-src. Reducing them to32pxmight solve the size mismatch.input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="week"] { padding: 0 12px; /* inherits font size 14px */ line-height: 2.71428571; /* 38px for 40px min-height */ min-height: 40px; }