[Future Request] Make React Day Picker as mobile friendly #2067
rztma65020
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello team,
Please update additional changes to make React Day Picker as a mobile friendly component. This would add a benefit in terms of being responsive. Here are some changes that we can add in the next release to make it responsive. I hope this will add value to the project. Thank you.
/* Mobile CSS updates*/
@media screen and (max-width: 650px) {
.rdp-months {
display: inline-block;
}
.rdp-month {
margin: 0;
}
.rdp,.root_qxxl {
--rdp-cell-size: 45px;
--rdp-caption-font-size: 16px;
}
}
Beta Was this translation helpful? Give feedback.
All reactions