diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-12 07:42:25 +0000 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-05-19 14:06:43 +0530 |
commit | aa7f474c4de8c7c183101b88d8e128abeffbe2bf (patch) | |
tree | c4e6999c544996608b6e28248bc1491563f8968b /app | |
parent | 05aad53440547306771390d2958b4bd4b831b8aa (diff) | |
download | gitlab-ce-aa7f474c4de8c7c183101b88d8e128abeffbe2bf.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 |