Skip to content
Discussion options

You must be logged in to vote

btn has flex style to put its content next to each other so if you want to show the content vertically there's no need for a <br>. You can just add flex-col class to btn

https://play.tailwindcss.com/Dc9o3zyzUP

<button class="btn flex-col gap-1">
  Test
  <i class="fa fa-arrow-down"></i>
</button>

Replies: 1 comment

Comment options

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