Commit 6aca8b57 authored by Luke Bennett's avatar Luke Bennett

Added download-button class and applied button margin

parent 77507df6
...@@ -169,4 +169,8 @@ ...@@ -169,4 +169,8 @@
margin-top: 11px; margin-top: 11px;
position: relative; position: relative;
z-index: 2; z-index: 2;
.download-button {
margin-left: $btn-side-margin;
}
} }
- if !project.empty_repo? && can?(current_user, :download_code, project) - if !project.empty_repo? && can?(current_user, :download_code, project)
%span{class: 'hidden-xs hidden-sm'} %span{class: 'hidden-xs hidden-sm download-button'}
.dropdown.inline .dropdown.inline
%button.btn{ 'data-toggle' => 'dropdown' } %button.btn{ 'data-toggle' => 'dropdown' }
= icon('download') = icon('download')
......
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