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

No way to manually specify variable widths without using   #71

Closed
joshjacobson opened this issue Jul 29, 2012 · 1 comment
Closed

Comments

@joshjacobson
Copy link

If you comment out or delete the following code:

$dk.find('.dk_toggle').css({
'width' : width + 'px'
});

There are two ways to control width:

  1. Allow the default, which controls width based on option lengths.
  2. Control width in the CSS:

.dk_toggle {
width: 7em; }

The problem is, I cannot figure out a way to target individual dropdowns when I have multiple on a page in the CSS, so they are all the same width, or I have to use   to make options artificially longer.

If someone has a fix it'd be great to hear it.

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

2 participants