Skip to content

Commit a244b72

Browse files
Hide disabled dates
1 parent 6aa063d commit a244b72

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
## Next
4+
- Hide disabled dates
45
- Fix disabled dates not reacting to `min` and `max` being updated
56

67
## 1.1.1 - 2021 Dec 11

src/lib/DatePicker.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,8 @@
345345
&:hover
346346
border: 1px solid rgba(#808080, 0.08)
347347
background-color: rgba(#808080, 0.08)
348+
&.disabled
349+
visibility: hidden
348350
&.disabled:hover
349351
border: none
350352
background-color: transparent

0 commit comments

Comments
 (0)