Fixed alignment of download dropdown

With the new dropdown CSS - some dropdowns might look a bit odd
This commit is contained in:
Phil Hughes 2016-03-16 11:44:53 +00:00
parent a34021cd18
commit d94dc565ba
2 changed files with 7 additions and 1 deletions

View File

@ -9,6 +9,12 @@
border-left: $caret-width-base solid transparent;
}
.btn-group {
.caret {
margin-left: 0;
}
}
.dropdown {
position: relative;
}

View File

@ -10,7 +10,7 @@
%span.caret
%span.sr-only
Select Archive Format
%ul.col-xs-10.dropdown-menu{ role: 'menu' }
%ul.col-xs-10.dropdown-menu.dropdown-menu-align-right{ role: 'menu' }
%li
= link_to archive_namespace_project_repository_path(@project.namespace, @project, ref: ref, format: 'zip'), rel: 'nofollow' do
%i.fa.fa-download