Skip to content

Commit 9cec239

Browse files
committed
fix: show presets at the bottom in fullscreen mode
1 parent 95b1a94 commit 9cec239

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ class DatePickerOverlayContentElement extends ThemableMixin(DirMixin(GestureEven
6262
transform: rotate(180deg);
6363
}
6464
65+
:host([fullscreen]) {
66+
flex-direction: column-reverse;
67+
}
68+
6569
#scrollers {
6670
display: flex;
6771
height: 100%;
@@ -141,6 +145,11 @@ class DatePickerOverlayContentElement extends ThemableMixin(DirMixin(GestureEven
141145
margin-right: 0px;
142146
}
143147
148+
:host([fullscreen]) [part="toolbar"] {
149+
flex-direction: row;
150+
flex-wrap: wrap;
151+
}
152+
144153
[part~="overlay-header"]:not([desktop]) {
145154
padding-bottom: 40px;
146155
}

0 commit comments

Comments
 (0)