🐛 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}}
<div class="gh-date-time-picker-time {{if hasError "error"}}">
{{gh-text-input
value=(readonly _time)
input=(action (mut _time) value="target.value")
focus-out=(action "setTime" _time)
disabled=disabled
data-test-date-time-picker-time-input=true
}}
<input
type="text"
value={{_time}}
disabled={{disabled}}
oninput={{action (mut _time) value="target.value"}}
onblur={{action "setTime" _time}}
data-test-date-time-picker-time-input
>
<small class="gh-date-time-picker-timezone">({{timezone}})</small>
</div>
</div>