Merge pull request #191 from TigerDX/dev
Reset styles for grid label tables when global table styles are in use
This commit is contained in:
commit
b53bf326f4
|
@ -3,3 +3,4 @@
|
|||
.ui-timepicker-div dl dt { height: 25px; }
|
||||
.ui-timepicker-div dl dd { margin: -25px 10px 10px 65px; }
|
||||
.ui-timepicker-div td { font-size: 90%; }
|
||||
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
|
||||
|
|
4
jquery-ui-timepicker-addon.js
vendored
4
jquery-ui-timepicker-addon.js
vendored
|
@ -289,7 +289,7 @@ $.extend(Timepicker.prototype, {
|
|||
if (o.showHour && o.hourGrid > 0) {
|
||||
html += '<dd class="ui_tpicker_hour">' +
|
||||
'<div id="ui_tpicker_hour_' + dp_id + '"' + ((o.showHour) ? '' : noDisplay) + '></div>' +
|
||||
'<div style="padding-left: 1px"><table><tr>';
|
||||
'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
|
||||
|
||||
for (var h = o.hourMin; h <= hourMax; h += o.hourGrid) {
|
||||
hourGridSize++;
|
||||
|
@ -315,7 +315,7 @@ $.extend(Timepicker.prototype, {
|
|||
html += '<dd class="ui_tpicker_minute ui_tpicker_minute_' + o.minuteGrid + '">' +
|
||||
'<div id="ui_tpicker_minute_' + dp_id + '"' +
|
||||
((o.showMinute) ? '' : noDisplay) + '></div>' +
|
||||
'<div style="padding-left: 1px"><table><tr>';
|
||||
'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
|
||||
|
||||
for (var m = o.minuteMin; m <= minMax; m += o.minuteGrid) {
|
||||
minuteGridSize++;
|
||||
|
|
Loading…
Reference in a new issue