Improve style for form in site settings (#2796)

This commit is contained in:
Yamagishi Kazutoshi 2017-05-05 03:37:57 +09:00 committed by Matt Jankowski
parent 11077af52f
commit 566e0a772d
2 changed files with 1 additions and 7 deletions

View file

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

View file

@ -1,7 +1,7 @@
- content_for :page_title do - content_for :page_title do
= t('admin.settings.title') = 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 %table.table
%thead %thead
%tr %tr