Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 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:


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)

#1 @nacin
7 years ago

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

#2 @solarissmoke
7 years ago

Oops. Sorry.

Note: See TracTickets for help on using tickets.