From 55d0e656f75928a230fd246c7b7727c2315fa00c Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 2 Mar 2025 07:22:09 +0000 Subject: [PATCH] Show pointer on buttons Used to be default for Tailwind v3, gone in v4 as per https://tailwindcss.com/docs/upgrade-guide#buttons-use-the-default-cursor --- assets/css/app.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/css/app.css b/assets/css/app.css index 38922297..77729128 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -7,6 +7,13 @@ @import "tailwindcss"; +@layer base { + button:not(:disabled), + [role="button"]:not(:disabled) { + cursor: pointer; + } +} + @theme { --color-brand: #d4af37; --font-sans: