From 3d34e09e1c7d495de0dcf916242f8efd3375dcb4 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Tue, 30 Jul 2024 16:37:44 +0000 Subject: [PATCH] web: don't display pointer cursor for disabled buttons --- web/src/routes/+layout.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index 997bb218..bde70f86 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -354,6 +354,10 @@ background-color: var(--button-active-hover); } + :global(button[disabled]) { + cursor: default; + } + /* important is used because active class is toggled by state */ /* and added to the end of the list, taking priority */ :global(.active:focus-visible) {