I added some code to the css that gets appended to the dropdown. In my case I am using this on a button class and want the dropdown to match the width of the parent element.
Not being particularly great at javascript I couldn't figure out how to only trigger the width if the link has a class of "button" realizing that it would be better to scope the width change only to the elements it is needed on.
Hope it helps out anyone else that is trying to do the same thing.
I added some code to the css that gets appended to the dropdown. In my case I am using this on a button class and want the dropdown to match the width of the parent element.
Not being particularly great at javascript I couldn't figure out how to only trigger the width if the link has a class of "button" realizing that it would be better to scope the width change only to the elements it is needed on.
Hope it helps out anyone else that is trying to do the same thing.