WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#17570 closed defect (bug) (duplicate)

Admin CSS wrongly fixes the height of select inputs

Reported by: solarissmoke Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2
Component: Administration Keywords:
Focuses: Cc:

Description

In wp-admin.css, we have:

#wpcontent select {
    font-size: 12px;
    height: 2em;
    padding: 2px;
}

This causes a problem when you try to use a select with the multiple attribute enabled, because instead of letting the browser use the size attribute to determine how many rows to show, the CSS shrinks the select to just one row (making the others invisible).

Removing height: 2em seems to resolve it for me, an doesn't mess up how single-option selects look.

Change History (2)

comment:1 nacin3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

comment:2 solarissmoke3 years ago

Oops. Sorry.

Note: See TracTickets for help on using tickets.