Improve style for form in site settings (#2796)

lolsob-rspec
Yamagishi Kazutoshi 2017-05-05 03:37:57 +09:00 committed by Matt Jankowski
parent 1bced91edb
commit 4f1cdccbb0
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