Trouble getting buttons the same size #2263
Unanswered
stevepurcell
asked this question in
Help
Replies: 1 comment
-
@stevepurcell add whatever display property fit your needs to the anchor tag and use width utils that satisfy you, same width on button & anchor tag, no need to shrink padding to adjust for this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am relatively new to tailwindcss but making good progress and using it exclusively.
I have a table with two buttons, one is a true submit button for a delete, and the other is an href tag. I am trying to get the buttons the same size but haven't had any luck.
They are close, but not exact.
Here is my css. I dropped the padding down to py-1 and px-3 on the delete button to get it as close as it is.
Beta Was this translation helpful? Give feedback.
All reactions