about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/javascript/styles/forms.scss6
-rw-r--r--app/views/admin/settings/edit.html.haml2
2 files changed, 1 insertions, 7 deletions
diff --git a/app/javascript/styles/forms.scss b/app/javascript/styles/forms.scss
index 18e8657cd..18258099b 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 0808f467c..59a8f53ed 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