How to override button style

if you use the code that I sent you in this this post, then it would wrap automatically depending on the container width. As you can see there I set it to 200px but it can be any size. You can even remove that hardcoded value in order to make it flexible so the options will automatically go into a new line when the container gets smaller (on a plugin window resize for example).

Please look at the images below to see what I meant by a flexible container:

image

image