🐛 Fixed size of the time input fields in publish and post settings menus

no issue
- moving the time input to use `{{gh-text-input}}` meant that the input gained the `.gh-input` class which messed with the combined date/time input styling
- switched back to plain `<input type="text">` to get rid of the extra class
This commit is contained in:
Kevin Ansfield 2018-03-07 10:58:34 +00:00
parent c4449d345b
commit bee7e6e1bf

View File

@ -19,13 +19,14 @@
{{/power-datepicker}} {{/power-datepicker}}
<div class="gh-date-time-picker-time {{if hasError "error"}}"> <div class="gh-date-time-picker-time {{if hasError "error"}}">
{{gh-text-input <input
value=(readonly _time) type="text"
input=(action (mut _time) value="target.value") value={{_time}}
focus-out=(action "setTime" _time) disabled={{disabled}}
disabled=disabled oninput={{action (mut _time) value="target.value"}}
data-test-date-time-picker-time-input=true onblur={{action "setTime" _time}}
}} data-test-date-time-picker-time-input
>
<small class="gh-date-time-picker-timezone">({{timezone}})</small> <small class="gh-date-time-picker-timezone">({{timezone}})</small>
</div> </div>
</div> </div>