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

[Dropdown] Form’s styles override the search in-menu’s width #5085

Open
RigobertoFelix opened this issue Feb 24, 2017 · 6 comments
Open

Comments

@RigobertoFelix
Copy link

Placing an ui search input inside a dropdown in a form gets a wrong size.

image

@awgv
Copy link
Member

awgv commented Feb 25, 2017

Hi, please provide a test case as per our contributing guidelines; you can fork this JSFiddle.

@RigobertoFelix
Copy link
Author

Here is an example in jsfiddle http://jsfiddle.net/o364q86L/

@awgv
Copy link
Member

awgv commented Feb 26, 2017

It seems that .ui.form .field .ui.input’s width overrides .ui.dropdown .menu > .input’width.

@awgv awgv changed the title Dropdown input search wrong size [Dropdown] Form’s styles override the search in-menu’s width Feb 26, 2017
@awgv awgv added this to the Needs Milestone milestone Feb 26, 2017
@RigobertoFelix
Copy link
Author

i'm in love of semantic ui, if there's anything that i can help in the future I would do it with pleasure, by the way is there any way to fix it quickly?

@awgv
Copy link
Member

awgv commented Feb 26, 2017

@RigobertoFelix Sure, it’s very easy; open installation_folder/src/site/modules/dropdown.overrides, put the following there, then rebuild the framework:

.ui.dropdown .menu > .input {
  width: auto !important;
  display: flex;
  margin: @menuInputMargin;
  min-width: @menuInputMinWidth;
}

@stale
Copy link

stale bot commented Jun 5, 2018

There has been no activity in this thread for 90 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one.

However, PRs for this issue will of course be accepted and welcome!

If there is no more activity in the next 90 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks!

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