Commit b89b00bf6c1f7e0d369b692c3124acdf3b6f30c1
1 parent
65696aaa
Exists in
spb-stable
and in
3 other branches
Fix download archive menu for tree view.
This fixes the issue of the menu going outside of the main `container`.
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/views/projects/tree/show.html.haml
1 | 1 | %div.tree-ref-holder |
2 | 2 | = render 'shared/ref_switcher', destination: 'tree', path: @path |
3 | 3 | - if can? current_user, :download_code, @project |
4 | - .tree-ref-holder.pull-right | |
5 | - = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small', split_button: true | |
4 | + = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small tree-ref-holder pull-right', split_button: true | |
6 | 5 | %div#tree-holder.tree-holder |
7 | 6 | = render "tree", tree: @tree | ... | ... |