Skip to content

buttons have different vertical position if contain svg #16677

Answered by wongjn
brianmay asked this question in Help
Discussion options

You must be logged in to vote

They're aligned according to the text base line:

You may have meant to apply the vertical-align: top to the <button> elements themselves: https://play.tailwindcss.com/kDcYAZDtbX

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brianmay
Comment options

Answer selected by brianmay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants