diff --git a/app/assets/stylesheets/common/simple_form.css.scss b/app/assets/stylesheets/common/simple_form.css.scss index ee64e96a6..661c6c489 100644 --- a/app/assets/stylesheets/common/simple_form.css.scss +++ b/app/assets/stylesheets/common/simple_form.css.scss @@ -43,3 +43,20 @@ form.simple_form { } } +form.inline-form { + display: table; + + > div.input { + display: table-row; + line-height: 2em; + + label { + text-align: right; + } + + label, input { + display: table-cell; + padding-right: 1em; + } + } +} diff --git a/app/views/comments/search.html.erb b/app/views/comments/search.html.erb index ae5720a0d..eab275a4e 100644 --- a/app/views/comments/search.html.erb +++ b/app/views/comments/search.html.erb @@ -2,13 +2,16 @@