Skip to content

Commit

Permalink
Fix buttons not showing up on mobile devices
Browse files Browse the repository at this point in the history
Tailwind 4 does custom variants differently.
  • Loading branch information
jeremystucki committed Feb 26, 2025
1 parent 9d41840 commit 53ec4a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
2 changes: 2 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import "tailwindcss";

@custom-variant touch-only (@media (hover: none));

@media (hover: none) {
[title] {
position: relative;
Expand Down
20 changes: 0 additions & 20 deletions tailwind.config.mjs

This file was deleted.

0 comments on commit 53ec4a9

Please sign in to comment.