diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 579521e..9e890e5 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -165,3 +165,7 @@ label { color: #999; } } + +.datetime { + white-space: nowrap; +} diff --git a/app/views/fluentd/settings/histories/_list.html.haml b/app/views/fluentd/settings/histories/_list.html.haml index afd96b2..c99991c 100644 --- a/app/views/fluentd/settings/histories/_list.html.haml +++ b/app/views/fluentd/settings/histories/_list.html.haml @@ -7,8 +7,10 @@ - @backup_files.each do |file| %tr %td= link_to(file.name, daemon_setting_history_path(id: file.file_id)) - %td= file.ctime.strftime t('time.formats.default') + %td.datetime= file.ctime.strftime t('time.formats.default') %td = form_for :note, url: daemon_setting_note_path(id: file.note.file_id), method: :patch do |f| - = f.text_field :content, value: file.note.content, class: "note-content", id: nil - = submit_tag t('terms.save'), class: 'btn btn-default btn-sm pull-right' + .form-group.input-group + = f.text_field :content, value: file.note.content, class: "note-content form-control", id: nil + %span.input-group-btn + = submit_tag t('terms.save'), class: 'btn btn-default'