tailwindcss-custom-forms icon indicating copy to clipboard operation
tailwindcss-custom-forms copied to clipboard

Consider having consistent heights

Open Larsklopstra opened this issue 5 years ago • 2 comments

In regards to your Tailwind UI newsletter

Tailwind UI Update # 6: Everything you ever (never?) wanted to know about sizing form controls

Larsklopstra avatar Feb 06 '20 13:02 Larsklopstra

I think this could solve issue #43 as well

imacrayon avatar Feb 17 '20 19:02 imacrayon

Upvote.

I am doing a hard workaround for some buttons that only has an icon and needs to be aligned with buttons with text.

.button {
   @apply leading-tight py-2 (...)

   &.icon-only {
      min-height: calc(1.375rem + theme('padding.2') * 2);
   }

hmaesta avatar Jun 11 '20 14:06 hmaesta