myforce / angularjs-dropdown-multiselect

AngularJS Dropdown Multiselect
http://myforce.github.io/angularjs-dropdown-multiselect/
MIT License
34 stars 28 forks source link

Inherit width of container #46

Closed gavinbelson closed 7 years ago

gavinbelson commented 7 years ago

Great module. I can't seem to make the select button inherit the width of the containing bootstrap

. I tried the stylesheets but no luck. Where could I adjust the width to be 100% of a container?

MissingLinke-zz commented 7 years ago

Adding these two lines to my style sheet helped me. I'm a bit green with css, so I'm not 100% sure this is right, but it worked.

button.dropdown-toggle.ng-binding.btn.btn-default { width: 100%; }

.multiselect-parent.btn-group.dropdown-multiselect { width: 100%; }

gavinbelson commented 7 years ago

That's super helpful. Thank you!!

Can be used to adjust width to px as well: { width: 100px; }

pkempenaers commented 7 years ago

Just an fyi this repo is no longer maintained here, I've been maintaining the main repo https://github.com/dotansimha/angularjs-dropdown-multiselect

MissingLinke-zz commented 7 years ago

Thank you. I did find that one and posted a few issues I'm having in there as well.