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

Problem with DropdownView default style #305

Closed
ghost opened this issue Jun 26, 2013 · 3 comments
Closed

Problem with DropdownView default style #305

ghost opened this issue Jun 26, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 26, 2013

Hi,

in the DropdownView (line 688) there are some hard-coded styles for the dropdown menu. Would it be possible to remove these so that I can overwrite these styles via CSS or in the template.
In my case I don't want the suggestionChild to wrap, so I prefer whiteSpace: "nowrap" for these, but I can apply my own style only if I remove the corresponding line from the JS file.

Regards
Manuel

@jharding
Copy link
Contributor

You can overwrite those styles by using !important. See this comment if you're interested in the reasoning behind that design decision.

@ghost
Copy link
Author

ghost commented Jun 26, 2013

Makes perfectly sense in my opinion. Didn't know about the !important flag as I'm not really an CSS expert.
Thanks for your quick reply.

@jharding
Copy link
Contributor

No problem, glad I could help.

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

No branches or pull requests

1 participant