DatePicker size in jQuery

I want the jquery datepicker size to be pretty small. The div class after checking HTML is ui-datepicker-div. How to resize. Now it is too big. How to make it small.

+4
source share
2 answers
.ui-datepicker { font-size: smaller; } 

http://jsfiddle.net/bznRE/

With jquery

 $(someSelector).datepicker().css({'font-size' : 'smaller' }); 
+6
source
 ().css({'font-size' : 'smaller' }); 

Reduces FONT size, not calender size. I think the question was to reduce calender size.

+3
source

Source: https://habr.com/ru/post/1381515/


All Articles