From: Keith Wood Date: Wed, 1 Apr 2009 10:36:36 +0000 (+0000) Subject: Datepicker: fixed #4085 - Can not display year and month correctly in Japanese X-Git-Tag: 1.8a1~168 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=126210026b6b35b24d216d520294f9fe5753d02c;p=jquery-ui.git Datepicker: fixed #4085 - Can not display year and month correctly in Japanese --- diff --git a/themes/base/ui.datepicker.css b/themes/base/ui.datepicker.css index 567f8c97b..a1116e69c 100644 --- a/themes/base/ui.datepicker.css +++ b/themes/base/ui.datepicker.css @@ -10,11 +10,10 @@ .ui-datepicker .ui-datepicker-next-hover { right:1px; } .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; } +.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } .ui-datepicker select.ui-datepicker-month-year {width: 100%;} .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; } .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } .ui-datepicker td { border: 0; padding: 1px; }