Skip to content

Commit 0a9cd05

Browse files
fix: remove hover effect from disabled calendar dates (#4257) closes: #4253
1 parent 0369e9c commit 0a9cd05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/daisyui/src/components/calendar.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@
110110
&:hover {
111111
background-color: var(--color-base-200);
112112
}
113+
&:disabled:hover,
114+
&[aria-disabled="true"]:hover {
115+
background-color: transparent;
116+
cursor: not-allowed;
117+
}
113118
}
114119
.rdp-caption_label {
115120
z-index: 1;

0 commit comments

Comments
 (0)