This is a migrated thread and some comments may be shown as answers.

Reduce height of Calender Image In Datepicker

1 Answer 387 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Amit Kumar
Top achievements
Rank 1
Amit Kumar asked on 26 Jun 2013, 12:49 PM
Hi
 I want to reduce height of Date-picker icon How can i reduce height of Date-picker?


Thank you
Amitkumar



1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 27 Jun 2013, 03:32 PM
Hi Amitkumar,

Here is a simple demo, which shows how to decrease the height of the DatePicker and the size of the DatePicker icon.

<input type="date" id="datepicker" />

$("#datepicker").kendoDatePicker();

.k-i-calendar {
    width: 10px;
    height: 10px;
    background: red;
    margin: 0 3px;
}
 
.k-picker-wrap .k-input {
    height: 1.4em;
    line-height: 1.4em;
}
 
.k-picker-wrap .k-select {
    min-height: 1.29em;
    line-height: 1.29em;
    padding-top: 2px;
}


You will need to apply a custom icon as a background to the k-i-calendar class, according to your preferences.


Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Date/Time Pickers
Asked by
Amit Kumar
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or