Skip to main content

Search and Top Navigation

#15105 closed bug (notabug)

Opened November 24, 2016 01:32PM UTC

Closed November 24, 2016 02:18PM UTC

ui-selectmenu css class has hardcoded width

Reported by: Patrick1701 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

Attachments (0)
Change History (1)

Changed November 24, 2016 02:18PM UTC by scottgonzalez comment:1

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.