jQuery UI Theme too big

Adam Rackis picture Adam Rackis · Sep 1, 2011 · Viewed 16.9k times · Source

When I download a jQuery-ui theme, what do I have to add to get the defaults looking the same as in the jQuery-ui demo page?

The dialog I'm seeing out of the box is HUGE (see below). I know all the css is available to me from the demo page, but I'm not really a CSS expert, and don't know what to take, and what to leave.

enter image description here

EDIT

Here's a jsFiddle link showing the same.

EDIT

Answer

undefined picture undefined · Dec 11, 2012

The best way is : change base jQuery-ui font-size:

.ui-widget{font-size:12px;}

See this fiddle for an example.