Skip to content
Discussion options

You must be logged in to vote

Note this part in the documentation for Button:

The spacing between the text and the edges of a button are due to border, not padding. To create a button with zero visible padding, use the border: none; declaration.

If I add border: none; to the Button styles in your code it appears to work as you wish.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@zhongqingg
Comment options

@davetapley
Comment options

@TomJGooding
Comment options

@davetapley
Comment options

Answer selected by zhongqingg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #2733 on June 05, 2023 11:39.