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

Select2 small size css bug #165

Closed
RomeroMsk opened this issue Oct 2, 2014 · 4 comments
Closed

Select2 small size css bug #165

RomeroMsk opened this issue Oct 2, 2014 · 4 comments

Comments

@RomeroMsk
Copy link

When using multiple Select2 with 'size' => 'sm' and selecting several values (more than fits in one row), the height of container is not expanding.
Here is md size:
image
And this is the same select with sm size:
image

@kartik-v
Copy link
Owner

kartik-v commented Oct 7, 2014

Closed via upgrade to release v3.0.0.

@kartik-v kartik-v closed this as completed Oct 7, 2014
@RomeroMsk
Copy link
Author

Just tested. If we don't set the class of multiple select to form-control in widget options, the height of container will be inherited from .input-sm of bootstrap.css and we'll get this:
image
(input in the bottom is the next input in vertical form).
Do we really need to set class everytime we use multiple Select2 with small size? Or you will fix this situation?

@kartik-v
Copy link
Owner

kartik-v commented Oct 8, 2014

This is now resolved with the latest commit.

@RomeroMsk
Copy link
Author

Yes, it is fine now, thank you! 👍

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