Opened 6 years ago

Closed 6 years ago

#15105 closed bug (notabug)

ui-selectmenu css class has hardcoded width

Reported by: Patrick Owned by:
Priority: minor Milestone: none
Component: ui.selectmenu Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

Hi all, its width is 14em by default.

Is there any special reason?

kind regards Patrick

Change History (1)

comment:1 Changed 6 years ago by Scott González

Resolution: notabug
Status: newclosed

Yes, there is. From the documentation:

When the value is null, the width of the native select is used. When the value is false, no inline style will be set for the width, allowing the width to be set in a stylesheet.

14em is used as a sane default for the case of false. In the future, if you have a question, please start in the forums, IRC, or Stack Overflow, rather than filing a bug.

Note: See TracTickets for help on using tickets.