Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Form] Min-width Interfering with Appearance in (X) Fields #2705

Closed
jholl opened this issue Jul 23, 2015 · 4 comments
Closed

[Form] Min-width Interfering with Appearance in (X) Fields #2705

jholl opened this issue Jul 23, 2015 · 4 comments
Milestone

Comments

@jholl
Copy link

jholl commented Jul 23, 2015

this declaration of 14em is used with min-width property here which overrides declarations like .ui.form.field > .selection.dropdown { width 100% }. (or in my case .three .fields)

It may be okay when in standard .container, but I'm using custom container widths (smaller than default) which causes the dropdown to extend out of bounds.

screen shot 2015-07-22 at 11 41 30 pm

Set .ui.selection.dropdown property width instead of min-width fixes; but will that have unintended conflict with other things? ...

@jlukic jlukic added this to the 2.1 milestone Jul 23, 2015
@jlukic
Copy link
Member

jlukic commented Jul 23, 2015

Generally selection dropdowns get awkward when really small. So we try to provide a reasonable minimum width.

However there probably should be no minimum width when inside a form.

@jlukic jlukic changed the title .ui.selection.dropdown min-width declaration default theme conflicts with responsive [Dropdown] Min-width Interfering with Appearance in (X) Fields Jul 23, 2015
@jholl
Copy link
Author

jholl commented Jul 23, 2015

Can we do min-width only in media query for small screen since it seems the driving issue is screen size?

If we limit the exception only to not in form it may creep up again in three columns grid outside form?

@jlukic
Copy link
Member

jlukic commented Jul 23, 2015

The driving issue is not screen size but word-wrapping on menu item.

You are familiar with compact dropdown ? This removes minimum width

@jlukic jlukic changed the title [Dropdown] Min-width Interfering with Appearance in (X) Fields [Form] Min-width Interfering with Appearance in (X) Fields Aug 12, 2015
@jlukic
Copy link
Member

jlukic commented Aug 13, 2015

Working through this test case
http://jsfiddle.net/yw64aj3n/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants