docs(button): update spacing note (#5647)

Update the note in the button docs about removing the spacing, as the
default CSS was changed from `height: 3` to `auto`.
This commit is contained in:
TomJGooding
2025-03-19 16:19:03 +00:00
committed by GitHub
parent 8bfa533fe9
commit af58978a91

View File

@@ -51,7 +51,7 @@ This widget has no component classes.
## Additional Notes
- The spacing between the text and the edges of a button are _not_ due to padding. The default styling for a `Button` has the `height` set to 3 lines and a `min-width` of 16 columns. To create a button with zero visible padding, you will need to change these values and also remove the border with `border: none;`.
- The spacing between the text and the edges of a button are _not_ due to padding. The default styling for a `Button` includes borders and a `min-width` of 16 columns. To remove the spacing, set `border: none;` in your CSS and adjust the minimum width as needed.
---