set a max width on the datepicker for desktop preview

This commit is contained in:
scottjehl 2011-01-30 15:57:47 -05:00
parent 2f9d1bce33
commit c0585948bb

View file

@ -8,7 +8,7 @@
* http://docs.jquery.com/UI/Datepicker#theming
*/
div.hasDatepicker{ display: block; padding: 0; overflow: visible; margin: 8px 0; }
.ui-datepicker { overflow: visible; margin: 0; }
.ui-datepicker { overflow: visible; margin: 0; max-width: 500px; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.4em 0; border-bottom: 0; font-weight: bold; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { padding: 1px 0 1px 2px; position:absolute; top: .5em; margin-top: 0; text-indent: -9999px; }