Skip to content

fullWidth for different Button Variants #3566

Answered by TheSisb
AleenaSA asked this question in General
Discussion options

You must be logged in to vote

Hi @AleenaSA,

Link style Buttons are set to display: inline-block, so that they can be used inline with other text. If it behaved like regular Buttons it wouldn't be possible to make it inline with other text.

You should be able to achieve your intended UI by wrapping the Button in a Box that is display: flex with the correct justifyContent and alignItems

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AleenaSA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants