Skip to content

Commit 95b1a94

Browse files
committed
fix: make month's width fixed and overlay's auto
Closes #22
1 parent 45921e0 commit 95b1a94

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/vcf-date-range-picker-overlay-content.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class DatePickerOverlayContentElement extends ThemableMixin(DirMixin(GestureEven
8282
left: 0;
8383
right: 0;
8484
bottom: 0;
85+
min-width: 250px;
8586
}
8687
8788
#scrollers[desktop] [part="months"] {

src/vcf-date-range-picker-styles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
[part="overlay"] {
3333
display: flex;
3434
flex: auto;
35+
width: auto;
3536
}
3637
3738
[part~="content"] {

0 commit comments

Comments
 (0)