diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-05-10 21:24:21 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-05-10 23:39:33 -0500 |
commit | 087ea0035fad513606ddb91d5bbb7f03236e614c (patch) | |
tree | 3be41c3ae7b97a1735174a7844a2cdd1cd4b2a0a /app/views/projects/branches | |
parent | 1ccf101eef7db401317838a453795fa1c28ec036 (diff) | |
download | gitlab-ce-087ea0035fad513606ddb91d5bbb7f03236e614c.tar.gz |
Fix new branch dropdown position and size32096-fix-new-branch-dropdown-position-size
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32096
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r-- | app/views/projects/branches/new.html.haml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/views/projects/branches/new.html.haml b/app/views/projects/branches/new.html.haml index 796ecdfd014..55575c5e412 100644 --- a/app/views/projects/branches/new.html.haml +++ b/app/views/projects/branches/new.html.haml @@ -17,11 +17,13 @@ .help-block.text-danger.js-branch-name-error .form-group = label_tag :ref, 'Create from', class: 'control-label' - .col-sm-10.dropdown.create-from - = hidden_field_tag :ref, default_ref - = button_tag type: 'button', title: default_ref, class: 'dropdown-toggle form-control js-branch-select', required: true, data: { toggle: 'dropdown', selected: default_ref, field_name: 'ref' } do - .text-left.dropdown-toggle-text= default_ref - = render 'shared/ref_dropdown', dropdown_class: 'wide' + .col-sm-10.create-from + .dropdown + = hidden_field_tag :ref, default_ref + = button_tag type: 'button', title: default_ref, class: 'dropdown-menu-toggle wide form-control js-branch-select', required: true, data: { toggle: 'dropdown', selected: default_ref, field_name: 'ref' } do + .text-left.dropdown-toggle-text= default_ref + = icon('chevron-down') + = render 'shared/ref_dropdown', dropdown_class: 'wide' .help-block Existing branch name, tag, or commit SHA .form-actions = button_tag 'Create branch', class: 'btn btn-create', tabindex: 3 |