box-sizing breaks svg
I was looking up some things and wound up at W3Schools where it was suggested to put this at the top of the CSS (minus the comment):
* { margin: 0; /* this breaks the svg search button: */ box-sizing: border-box; }
and so I added this to the CSS rules for svg to resolve the problem:
box-sizing: unset;
Comments
Post a Comment