Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 8e89440

Browse files
Mike Fisherwesleycho
Mike Fisher
authored andcommitted
fix(timepicker): fix widths of inputs when inside form-inline
Set timpicker widths on input elements to fix display in inline forms
1 parent 13bd516 commit 8e89440

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: template/timepicker/timepicker.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<td ng-show="showMeridian"></td>
88
</tr>
99
<tr>
10-
<td style="width:50px;" class="form-group" ng-class="{'has-error': invalidHours}">
11-
<input type="text" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-mousewheel="incrementHours()" ng-readonly="readonlyInput" ng-disabled="disabled" maxlength="2">
10+
<td class="form-group" ng-class="{'has-error': invalidHours}">
11+
<input style="width:50px;" type="text" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-mousewheel="incrementHours()" ng-readonly="readonlyInput" ng-disabled="disabled" maxlength="2">
1212
</td>
1313
<td>:</td>
14-
<td style="width:50px;" class="form-group" ng-class="{'has-error': invalidMinutes}">
15-
<input type="text" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="readonlyInput" ng-disabled="disabled" maxlength="2">
14+
<td class="form-group" ng-class="{'has-error': invalidMinutes}">
15+
<input style="width:50px;" type="text" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="readonlyInput" ng-disabled="disabled" maxlength="2">
1616
</td>
1717
<td ng-show="showMeridian"><button type="button" class="btn btn-default text-center" ng-click="toggleMeridian()">{{meridian}}</button></td>
1818
</tr>

0 commit comments

Comments
 (0)