Is there a way to set the width of the dropdown menu.
My goal is to have a couple dropdown menus that are uniform in size.
I also want to limit the width so it fits in a certain area.
I would appreciate any help.
Thanks
Is there a way to set the width of the dropdown menu.
My goal is to have a couple dropdown menus that are uniform in size.
I also want to limit the width so it fits in a certain area.
I would appreciate any help.
Thanks
Comments
Comment #1
VisidiomCreative commentedComment #2
VisidiomCreative commentedI figured this out after digging around in the code for a long time.
You can set the width by applying a width to the "form-select" class on your stylesheet.
In the future it may be a good feature to have some kind of controls over how the dropdown appears.
Comment #3
broonSince the select tag created by Jump has an id (like edit-jump-goto), you may just alter your themes css:
That way it fits whereever it is displayed. Upon click the shown dropdown is a broad as the longest entry, though (which is ok for me).
Best,
Paul