WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#30886 closed defect (bug) (fixed)

Attachment fields alignment

Reported by: trepmal Owned by: wonderboymusic
Milestone: 4.2 Priority: normal
Severity: normal Version: 4.1
Component: Media Keywords: has-patch
Focuses: ui Cc:
PR Number:

Description

Both inputs and textareas have peculiar alignment in the compat section (added either by taxonomies registered to attachments, or fields added via attachment_fields_to_edit). Inputs are too wide, and textareas are too narrow.

https://cldup.com/-sCfPtqXZW-3000x3000.jpeg

(Plugin to repro: https://gist.github.com/trepmal/1e9f5ec4f37b92576279)

A few CSS tweaks bring things into alignment

https://cldup.com/KM-13fXxhe-3000x3000.jpeg

Attachments (1)

30886.diff (722 bytes) - added by trepmal 5 years ago.

Download all attachments as: .zip

Change History (4)

@trepmal
5 years ago

#1 @wonderboymusic
5 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.2

#2 @wonderboymusic
5 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 31038:

Fix spacing of .compat-item .field form widgets in media modal.

Props trepmal.
Fixes #30886.

#3 @ocean90
5 years ago

In 31061:

Autoprefixer for [31038].

see #30886.

Note: See TracTickets for help on using tickets.