Timepicker button rendering

Hi!

I have just fixed some problem with extension timepicker.

Look, it renders as <input><button>. If input has own style with margin, but button hasn’t, it will render bad in IE and Opera.

For example, default form.css in Yii have this:


div.form input { margin: 0.2em 0 0.5em 0;}

I added this code to /assests/.../css/smootheness/jquery-ui-1.7.2.custom.css:


.ui-datepicker-trigger {vertical-align: top; margin: 0.2em 0 0.5em 0;}

where vertical-align is not nessesary, but margin must be same as in input.

Hope it helps.