jquery ui datepicker font size is huge

iggnition picture iggnition · May 18, 2010 · Viewed 7.3k times · Source

im trying to add a datepicker to my symfony application and i got it working, but the size of the datepicker is about 3 times bigger than normal (on the demo page). I have not edited any CSS, i just used the default ui lightness theme no modifications.

Does anybody have any idea why the size is blown up so big?

CSS:

http://paste2.org/p/835414

tough i doubt that will be very usefull.

Answer

Felix picture Felix · May 18, 2010

Modify font-size in the .ui-widget class. Change it from 1.1em (the current value) to something less, like 1em or 0.9em. Or just use a static size, like 12px, but that's not recommendable.