From dd85b128d2f45a53540dca17f36b344c7d36f339 Mon Sep 17 00:00:00 2001 From: zmagod Date: Tue, 6 Dec 2016 14:47:16 +0100 Subject: [PATCH] fixed glyphicon-ok position --- app/assets/stylesheets/sample_types_groups.scss | 9 +++++++++ app/views/sample_groups/index.html.erb | 11 ++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/sample_types_groups.scss b/app/assets/stylesheets/sample_types_groups.scss index fe7d003f2..7ec134c07 100644 --- a/app/assets/stylesheets/sample_types_groups.scss +++ b/app/assets/stylesheets/sample_types_groups.scss @@ -93,6 +93,15 @@ margin-top: 3px; } } + + .sample-group-submit { + display: inline-block; + vertical-align: top; + + #submit { + margin-top: 8px; + } + } } #new_sample_group .color-picker { diff --git a/app/views/sample_groups/index.html.erb b/app/views/sample_groups/index.html.erb index ac506be02..5c388d800 100644 --- a/app/views/sample_groups/index.html.erb +++ b/app/views/sample_groups/index.html.erb @@ -25,11 +25,12 @@ remote: true, html: { class: 'form-inline' }, url: organization_sample_groups_path(current_organization) do |f| %> -
- <%= f.text_field :name, - id: 'name-input', - class: 'form-control', - hide_label: true %> + + <%= f.text_field :name, + id: 'name-input', + class: 'form-control', + hide_label: true %> +