mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +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}}
|
{{/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>
|
||||||
|
Loading…
Reference in New Issue
Block a user