I recently built a drop-down functionality into a button. However, once I added the button to a div/container in order to not have it stretch the width of the screen, the functionality for the animation completely stopped working.
I’ve included a Read Only version of the site below (the button can be found on the Projects Template under the “Creator Stack” section) as well as the link to the live site to see the broken/working interactions in the wild.
You’ll notice I have two buttons: one that is not in a container and functions perfectly, and one that is formatted correctly but does not work. Any feedback would be appreciated!