From 115f83acd1016912ef0ca3533ac5845a42d9a100 Mon Sep 17 00:00:00 2001 From: Indri Muska Date: Thu, 27 Mar 2014 21:15:54 +0100 Subject: [PATCH] CSS update Added padding and min-with for unselectable days. --- jquery.mobile.datepicker.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery.mobile.datepicker.css b/jquery.mobile.datepicker.css index 11199d7..7963084 100644 --- a/jquery.mobile.datepicker.css +++ b/jquery.mobile.datepicker.css @@ -11,9 +11,9 @@ div.hasDatepicker{ display: block; padding: 0; overflow: visible; margin: 8px 0 .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { width: 49%;} .ui-datepicker table {width: 100%; border-collapse: collapse; margin:0; } -.ui-datepicker td { border-width: 1px; padding:0; text-align: center; } +.ui-datepicker td { border-width: 1px; padding: 0; text-align: center; min-width: 41px; } .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em 0; font-weight: bold; margin: 0; border-width: 0; text-align: center; text-decoration: none; } .ui-datepicker-calendar th { padding-top: .4em; padding-bottom: .4em; } .ui-datepicker-calendar th span, .ui-datepicker-calendar span.ui-state-default { opacity: .7; } -.ui-datepicker-calendar td a { padding:.6em .5em; } \ No newline at end of file +.ui-datepicker-calendar td a, .ui-datepicker-calendar td span { padding: .6em .5em; } \ No newline at end of file