mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
🐛 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:
parent
c4449d345b
commit
bee7e6e1bf
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user