On the page: http://local.finerock.com/engagement-rings/halo-engagement-rings.html
I am using flexbox to display product filters, and used a small jquery to set child element width equal to its sibling, the code is like:
$(window).load(function(){
if($(window).width() >= 900){
$('.filter-options-content').width($('.filter-options-title').innerWidth());
}
});
still its taking longer width than actual, see screenshot. enter image description here
I have used all options, width, outerWidth & innerWidth, still the results are same.
For my opinion, this is not the best way to creating dropdown items.
However, here is some fixing tips for you.
At first, don't give child elements width or height values with js.
CSS
custom.css:185
custom.css:210
theme.css:6544
Result:
I hope this solves your problem.