Skip to content

Commit 0b0a5d1

Browse files
committed
refactor(Calendar): disable hover style on not-available days
1 parent 4fad1ee commit 0b0a5d1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scss/_calendar.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,9 @@
110110
padding: 1px 0;
111111
text-align: center;
112112

113-
&:not(.disabled) .calendar-cell-inner {
113+
&:not(.disabled):not(.next):not(.previous):hover .calendar-cell-inner,
114+
&.clickable:hover .calendar-cell-inner {
114115
cursor: pointer;
115-
}
116-
117-
&:hover:not(.disabled) .calendar-cell-inner {
118116
background-color: var(--#{$prefix}calendar-cell-hover-bg);
119117
}
120118

0 commit comments

Comments
 (0)