From 4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd Mon Sep 17 00:00:00 2001 From: Clement Ho Date: Thu, 12 Apr 2018 18:16:56 -0500 Subject: [skip ci] add col-sm-* for form-horizontal changes to keep layout --- app/views/shared/_new_commit_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/shared/_new_commit_form.html.haml') diff --git a/app/views/shared/_new_commit_form.html.haml b/app/views/shared/_new_commit_form.html.haml index 5f7077daaec..81c33eeea4f 100644 --- a/app/views/shared/_new_commit_form.html.haml +++ b/app/views/shared/_new_commit_form.html.haml @@ -8,7 +8,7 @@ - else - if can?(current_user, :push_code, @project) .form-group.row.branch - = label_tag 'branch_name', _('Target Branch'), class: 'col-form-label' + = label_tag 'branch_name', _('Target Branch'), class: 'col-form-label col-sm-2' .col-sm-10 = text_field_tag 'branch_name', branch_name, required: true, class: "form-control js-branch-name ref-name" -- cgit v1.2.3