palantir / blueprint

A React-based UI toolkit for the web
https://blueprintjs.com/
Apache License 2.0
20.73k stars 2.18k forks source link

Outlined Button/ButtonGroup should not gain extra width and height because of the border #4026

Open CPerinet opened 4 years ago

CPerinet commented 4 years ago

Actual behavior

Outlined buttons are 2px wider and 2px higher than not outlined ones.

Expected behavior

Outlined buttons should have the same width and height as not outlined ones.

Possible solution

Use box shadow or reduce padding.

sonovawolf commented 4 years ago

+1, thanks for responding this rapidly 🤗