Browse Source

Improve style for form in site settings (#2796)

closed-social-glitch-2
Yamagishi Kazutoshi 7 years ago
committed by Matt Jankowski
parent
commit
566e0a772d
2 changed files with 1 additions and 7 deletions
  1. +0
    -6
      app/javascript/styles/forms.scss
  2. +1
    -1
      app/views/admin/settings/edit.html.haml

+ 0
- 6
app/javascript/styles/forms.scss View File

@ -9,12 +9,6 @@ code {
margin: 0 auto;
}
.admin {
input, textarea {
width: 100%;
}
}
.simple_form {
.input {
margin-bottom: 15px;

+ 1
- 1
app/views/admin/settings/edit.html.haml View File

@ -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

Loading…
Cancel
Save