Skip to content

Commit

Permalink
Disable button
Browse files Browse the repository at this point in the history
  • Loading branch information
weiland committed Aug 13, 2023
1 parent 834d0b2 commit 5c49ca4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Form.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
class="btn"
on:mouseover={() => (showMyFace = true)}
on:focus={() => (showMyFace = true)}
on:blur={() => (showMyFace = false)}
on:mouseleave={() => (showMyFace = false)}
>👉 Let's drink a {(drink === OTHER_DRINK
? other_drink
Expand Down Expand Up @@ -254,6 +255,12 @@
0 0 0 0.4rem var(--cm-blue);
}
button[disabled] {
opacity: 0.5;
cursor: pointer;
pointer-events: none;
}
/* .input:invalid { */
/* box-shadow: 0 0 0 0.125rem var(--cm-yellow-bright), */
/* 0 0 0 0.4rem var(--cm-red); */
Expand Down

0 comments on commit 5c49ca4

Please sign in to comment.