diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-12 07:42:25 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-12 07:42:25 +0000 |
commit | 3190b292782febeea82c3ea5b1e165c01d51f638 (patch) | |
tree | 62b01847cd8b6f56538acbf4575fed118525a80d /app | |
parent | 61f811e61d3782784f94d9f8ff36d62deb69e8fa (diff) | |
parent | 087ea0035fad513606ddb91d5bbb7f03236e614c (diff) | |
download | gitlab-ce-3190b292782febeea82c3ea5b1e165c01d51f638.tar.gz |
Merge branch '32096-fix-new-branch-dropdown-position-size' into 'master'
Fix new branch dropdown position and size
Closes #32096
See merge request !11279
Diffstat (limited to 'app')
-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 |