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

fix(timepicker): width of hours/minutes input fields in template #1198

Closed
@tschach

Description

@tschach

The width of the hours/minutes input fields in the timepicker template is currently set by a "span1" in the class attribute:

<input type="text" ng-model="hours" ng-change="updateHours()" class="span1 text-center" ng-mousewheel="incrementHours()" ng-readonly="readonlyInput" maxlength="2">
...
<input type="text" ng-model="minutes" ng-change="updateMinutes()" class="span1 text-center" ng-readonly="readonlyInput" maxlength="2">

This causes a faulty width setting when timepicker is placed inside a "row-fluid".

I suggest to change this to "input-block-level":

<input type="text" ng-model="hours" ng-change="updateHours()" class="input-block-level text-center" ng-mousewheel="incrementHours()" ng-readonly="readonlyInput" maxlength="2">
...
<input type="text" ng-model="minutes" ng-change="updateMinutes()" class="input-block-level text-center" ng-readonly="readonlyInput" maxlength="2">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions