Commit 32a4a99c authored by Mike Greiling's avatar Mike Greiling

Port of 24895-branch-index-delete-button-inconsistently-spaced-and-misaligned to EE

parent 1bf684f7
...@@ -155,7 +155,8 @@ ul.content-list { ...@@ -155,7 +155,8 @@ ul.content-list {
} }
> .btn, > .btn,
> .btn-group { > .btn-group,
> .dropdown.inline {
margin-right: $gl-padding-top; margin-right: $gl-padding-top;
display: inline-block; display: inline-block;
margin-top: 3px; margin-top: 3px;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
= icon('exclamation-triangle') = icon('exclamation-triangle')
diverged from upstream diverged from upstream
.controls.hidden-xs .controls.hidden-xs<
- if merge_project && create_mr_button?(@repository.root_ref, branch.name) - if merge_project && create_mr_button?(@repository.root_ref, branch.name)
= link_to create_mr_path(@repository.root_ref, branch.name), class: 'btn btn-default' do = link_to create_mr_path(@repository.root_ref, branch.name), class: 'btn btn-default' do
Merge Request Merge Request
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
= form_tag(filter_branches_path, method: :get) do = form_tag(filter_branches_path, method: :get) do
= search_field_tag :search, params[:search], { placeholder: 'Filter by branch name', id: 'branch-search', class: 'form-control search-text-input input-short', spellcheck: false } = search_field_tag :search, params[:search], { placeholder: 'Filter by branch name', id: 'branch-search', class: 'form-control search-text-input input-short', spellcheck: false }
.dropdown.inline .dropdown.inline>
%button.dropdown-menu-toggle{ type: 'button', 'data-toggle' => 'dropdown' } %button.dropdown-menu-toggle{ type: 'button', 'data-toggle' => 'dropdown' }
%span.light %span.light
= projects_sort_options_hash[@sort] = projects_sort_options_hash[@sort]
......
- if !project.empty_repo? && can?(current_user, :download_code, project) - if !project.empty_repo? && can?(current_user, :download_code, project)
.project-action-button.dropdown.inline .project-action-button.dropdown.inline>
%button.btn{ 'data-toggle' => 'dropdown' } %button.btn{ 'data-toggle' => 'dropdown' }
= icon('download') = icon('download')
= icon("caret-down") = icon("caret-down")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment