Skip to content

Commit

Permalink
fix(button-primary): do not hover if disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tkohr committed Feb 8, 2024
1 parent 9b46e48 commit 3c23de8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<button
class="h-11 flex justify-center items-center gap-2 text-white text-[15px] font-extrabold leading-[18px] py-2 px-[18px] rounded border hover:bg-primary-dark"
[class]="disabled ? 'bg-primary-light' : 'bg-primary'"
class="h-11 flex justify-center items-center gap-2 text-white text-[15px] font-extrabold leading-[18px] py-2 px-[18px] rounded border"
[class]="disabled ? 'bg-primary-light' : 'bg-primary hover:bg-primary-dark'"
[disabled]="disabled"
>
{{ label }}
Expand Down

0 comments on commit 3c23de8

Please sign in to comment.