material-datetime-picker
material-datetime-picker copied to clipboard
Feature request: Add a mobile-friendly landscape view
This is a very pretty date picker but when I open it on a phone in landscape view it becomes unusable. The buttons fall off the bottom and can't be seen.
Yep, I should create a landscape version. It needs some thinking about but probably something like the one on the guidelines page here.
Would love to see a mobile friendly version of material-datetime-picker
too.
Maybe a first simple step would be to make the date picker vertically scrollable when it doesn't fit, that would at least make it usable on mobile screens.
I have a same issue but i added scrollable and media screen, maybe this can solve this issue :
@media (max-height: 512px){
.c-datepicker{
max-height: 400px;
max-width: 300px;
overflow-y: auto;
overflow-x: hidden;
}
}
@media (max-height: 320px){
.c-datepicker{
max-height: 320px;
max-width: 240px;
overflow-y: auto;
overflow-x: hidden;
}
}