Last active
July 29, 2024 11:13
-
-
Save justalever/a5047b4acf3949bf355e2e36b17fb9f2 to your computer and use it in GitHub Desktop.
Tailwind button fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "tailwindcss/base"; | |
@import "tailwindcss/components"; | |
@import "./components/buttons.css"; | |
@import "tailwindcss/utilities"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Couple of notes:
application.tailwind.css
file, it's recommended that you include any additional component-driven styles after the components are included from Tailwind directly.buttons.css
file. I fixed those above. In your views, I saw there are.btn-small
and.btn-sm
variants, so you'll need to choose one strategy.