diff --git a/app/assets/stylesheets/content/_forms.sass b/app/assets/stylesheets/content/_forms.sass index 4662c7468b..7b1cfdf2d2 100644 --- a/app/assets/stylesheets/content/_forms.sass +++ b/app/assets/stylesheets/content/_forms.sass @@ -528,6 +528,8 @@ fieldset.form--fieldset .form--text-field @extend %input-style + &.-number + text-align: right .form--text-field, #{$text-input-selectors}, diff --git a/app/views/timelog/edit.html.erb b/app/views/timelog/edit.html.erb index bf6f7bf081..65c0bfd86d 100644 --- a/app/views/timelog/edit.html.erb +++ b/app/views/timelog/edit.html.erb @@ -44,7 +44,7 @@ See docs/COPYRIGHT.rdoc for more details.
- <%= f.text_field :hours, size: 6, required: true, container_class: '-xslim', class: '-augmented-datepicker' %> + <%= f.text_field :hours, size: 6, required: true, container_class: '-xslim', class: '-number' %>