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

Full width Select #9

Closed
amichel86 opened this issue May 30, 2018 · 5 comments
Closed

Full width Select #9

amichel86 opened this issue May 30, 2018 · 5 comments

Comments

@amichel86
Copy link

amichel86 commented May 30, 2018

Thank you for your plugin!

Is there an option to have it 100% wide by default or we need to play around in the CSS?

@itsems
Copy link

itsems commented Jun 1, 2018

+1 have same question here
thx for your plugin!

@thdoan
Copy link
Owner

thdoan commented Jun 1, 2018

Good suggestion -- I'll add a width option as well since the height option is getting lonely ;).

@amichel86
Copy link
Author

amichel86 commented Jun 1, 2018

For those wondering here's the basic CSS override for it to be 100% wide:

.prettydropdown {
display: block;
width: 100%!important;
}

.prettydropdown ul,
.prettydropdown ul li {
width: 100%!important;
}

@thdoan
Copy link
Owner

thdoan commented Jun 2, 2018

@amichel86 great, thanks. I currently don't have the bandwidth to add a width option that takes both px and % units, so maybe someone can tackle this and submit a PR. In the meantime, the quickest solution is to override the CSS as shown above.

@thdoan
Copy link
Owner

thdoan commented Sep 7, 2018

Note that there is now a width option beginning with v4.13.0.

@thdoan thdoan closed this as completed Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants