<button>Foo</button>
<button style="border-width: 3px">Bar</button>
On Firefox these render as
Changing border-width
has changed other effects. I just want to make the border smaller.
Here is the box model for the button on the left
I want the button to fit more tightly around the text something like this
According to the box model, it looks like the border is the only thing responsible for the vertical "padding".
How can I shrink the button to the text, preserving the aesthetic styles?