From c0585948bb44e148130c70aed4f9b1f47a87ad61 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sun, 30 Jan 2011 15:57:47 -0500 Subject: [PATCH] set a max width on the datepicker for desktop preview --- experiments/ui-datepicker/jquery.ui.datepicker.mobile.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/ui-datepicker/jquery.ui.datepicker.mobile.css b/experiments/ui-datepicker/jquery.ui.datepicker.mobile.css index c9853a6c..7cc08f1e 100644 --- a/experiments/ui-datepicker/jquery.ui.datepicker.mobile.css +++ b/experiments/ui-datepicker/jquery.ui.datepicker.mobile.css @@ -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; }