Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#11457 closed defect (bug) (duplicate)

Heigh Parameter in wp-admin.css affects the use of multi line selects.

Reported by: steveatty's profile SteveAtty Owned by:
Milestone: Priority: low
Severity: trivial Version: 2.8.5
Component: UI Keywords: css, select, multi line
Focuses: Cc:

Description

Currently the wp-admin.css file contains:

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

This means that the following code:

<select id="place_list" name="plid" size="10" multiple="multiple" style="min-width:30em;
width:30em">
<option value="668u">Line 1</option><option value="o0v9">Line 2</option><option value="o0x1">Line 3</option></select>

Produces a single line select rather than a 10 line select with only 3 lines in it.

Changing the css file to:

#wpcontent select {
padding: 2px;
font-size: 11px;
}

Fixes this issue and does not seem to affect any other part of the admin back end.

Change History (3)

#1 @Denis-de-Bernardy
16 years ago

#10331

Changed 4 weeks ago by azaozz

resolution set to wontfix

Multiple selects are not used in core and it seems this normalizes the <select> across browsers. If plugins need it they can easily add more specific style.

#2 @hakre
16 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate then.

#3 @Denis-de-Bernardy
16 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.