DatePicker sizing in mobile device

1 Answer 276 Views
DatePicker
J
Top achievements
Rank 1
Iron
Iron
J asked on 15 Jul 2021, 08:49 AM

Hello,

I want to place ```kendo-datepicker``` into my website, which I want to be responsive also for mobile devices, i.e. width cca 350 px.

I reduced the font and overall size of all controls (also buttons and comboboxes from bootstrap library) in the view, even the datepicker textbox. I managed also to reduce the size of datepicker popup by scaling it (I found this tip somewhere here in forum), but it's wrongly placed - because the textbox and button on ribbon above are not centered, the popup is not centered as well and is off the left edge.

Screens of popup in original and scaled size are attached.

Is there any straightforward way to reduce it's size (except changing font-size which does not work for me and scaling which I described above) so it would fit into screen?

Thanks for any advice.

Frimlik

1 Answer, 1 is accepted

Sort by
0
Slavena
Telerik team
answered on 19 Jul 2021, 08:21 AM

Hi Frimlik,

Thank you for the provided screenshots.

Unfortunately, the most straight-forward approach for reducing the Calendar size is by overwriting its inner elements' font sizes. If this is not acceptable in the given scenario, the alternatives are to overwrite multiple other styling rules, applied to the inner elements, coming from the Kendo Theme.

Regards,
Slavena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
DatePicker
Asked by
J
Top achievements
Rank 1
Iron
Iron
Answers by
Slavena
Telerik team
Share this question
or