From 4f1cdccbb057d75f69e56da672e12e78f4efafaa Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Fri, 5 May 2017 03:37:57 +0900 Subject: [PATCH] Improve style for form in site settings (#2796) --- app/javascript/styles/forms.scss | 6 ------ app/views/admin/settings/edit.html.haml | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/javascript/styles/forms.scss b/app/javascript/styles/forms.scss index 18e8657cdb..18258099b8 100644 --- a/app/javascript/styles/forms.scss +++ b/app/javascript/styles/forms.scss @@ -9,12 +9,6 @@ code { margin: 0 auto; } -.admin { - input, textarea { - width: 100%; - } -} - .simple_form { .input { margin-bottom: 15px; diff --git a/app/views/admin/settings/edit.html.haml b/app/views/admin/settings/edit.html.haml index 0808f467cd..59a8f53ed1 100644 --- a/app/views/admin/settings/edit.html.haml +++ b/app/views/admin/settings/edit.html.haml @@ -1,7 +1,7 @@ - content_for :page_title do = t('admin.settings.title') -= form_tag(admin_settings_path, method: :put) do += form_tag(admin_settings_path, method: :put, class: 'simple_form', style: 'max-width: 100%') do %table.table %thead %tr