Make WordPress Core

Opened 11 months ago

Last modified 11 months ago

#41024 new defect (bug)

File uploader looks misaligned in Mac Chrome

Reported by: Ankit K Gupta Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Plugins Keywords: has-patch has-screenshots
Focuses: administration Cc:


Plugin/theme file uploader look misaligned in Mac Chrome. Refer attached screen shots. Browser default uploader text appearing on select file button and it makes text long. I am not expert in CSS but I noticed if change max-width of form. It looks fine in All Browsers. Better solution are welcome :)

Attachments (5)

Mac Chrome.jpg (26.8 KB) - added by Ankit K Gupta 11 months ago.
Windows Chrome.jpeg (46.7 KB) - added by Ankit K Gupta 11 months ago.
41024.patch (386 bytes) - added by Ankit K Gupta 11 months ago.
After Fix.jpg (26.2 KB) - added by Ankit K Gupta 11 months ago.
41024.2.patch (381 bytes) - added by gingeds 11 months ago.
CSS Coding Standards fix

Download all attachments as: .zip

Change History (7)

#1 @Ankit K Gupta
11 months ago

  • Keywords has-patch has-screenshots added

#2 @gingeds
11 months ago

Good work!

I changed it to 400px and attached file above - as WordPress CSS Coding Standards states magic numbers are unlucky.

See: https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#best-practices


Last edited 11 months ago by gingeds (previous) (diff)

11 months ago

CSS Coding Standards fix

Note: See TracTickets for help on using tickets.