Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8715 closed bug (notabug)

Why does DatePicker require a 62.5% font-size style on BODY element?

Reported by: tphelps19 Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.datepicker Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:


Something I noticed when working with jQuery DatePicker is that it seems to require a style of "font-size: 62.5%" to be set on the BODY element of my entire webpage to work properly. No joke, if you take that out then the calendar displays about twice the size. That doesn't seem like it's a very effective way of sizing the calendar, anyone else notice this??

Change History (3)

comment:1 Changed 10 years ago by Scott González

Resolution: notabug
Status: newclosed

You can design your theme however you want. The calendar adjusts based on the font size.

comment:2 Changed 10 years ago by tphelps19

Perhaps I'm asking this the wrong way... is there another way I could adjust the size of the calendar without that style setting on the BODY element? I tried setting it on the input field that triggers the calendar but that doesn't affect it.

comment:3 Changed 10 years ago by Scott González

You can adjust the styles for the datepicker div. Please use the forums or StackOverflow if you need help.

Note: See TracTickets for help on using tickets.