Skip to content

Commit 88e810a

Browse files
committed
Hide hover effect on disabled buttons
1 parent 8e9ff1a commit 88e810a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/css/tailwind.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@
313313
@apply bg-layer;
314314
@apply disabled:bg-layer-disabled ui-disabled:bg-layer-disabled;
315315
@apply disabled:text-layer-disabled ui-disabled:text-layer-disabled;
316-
@apply disabled:cursor-default ui-disabled:cursor-default;
316+
@apply disabled:hover:bg-layer-disabled;
317+
@apply disabled:cursor-not-allowed ui-disabled:cursor-not-allowed disabled-within:cursor-not-allowed;
317318
@apply disabled-within:bg-layer-disabled disabled-within:text-layer-disabled;
318319
@apply disabled-within:hover:bg-layer-disabled disabled-within:hover:text-layer-disabled;
319320
@apply hover:bg-layer-hover ui-active:bg-layer-hover;

0 commit comments

Comments
 (0)