Skip to content

best way to save what you love

web: don't display pointer cursor for disabled buttons

dumbmoron3d34e09e1c7d
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) {