Improve style for form in site settings (#2796)

master
Yamagishi Kazutoshi 8 years ago committed by Matt Jankowski
parent 11077af52f
commit 566e0a772d
  1. 6
      app/javascript/styles/forms.scss
  2. 2
      app/views/admin/settings/edit.html.haml

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

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