From 826c806f96285b839ea113b743bd95d1ff079b05 Mon Sep 17 00:00:00 2001 From: dtonon Date: Mon, 15 Jun 2026 14:06:46 +0200 Subject: [PATCH] Use pointer cursor for buttons --- src/routes/layout.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/routes/layout.css b/src/routes/layout.css index 464dae2..af5a9eb 100644 --- a/src/routes/layout.css +++ b/src/routes/layout.css @@ -10,6 +10,13 @@ html { font-size: 16px; } +/* Tailwind 4's preflight drops the pointer cursor on buttons; restore it for + enabled buttons (disabled ones keep the default arrow). */ +button:not(:disabled), +[role="button"]:not([aria-disabled="true"]) { + cursor: pointer; +} + body { background-color: var(--color-neutral-100); }