Fixed alignment of download dropdown
With the new dropdown CSS - some dropdowns might look a bit odd
This commit is contained in:
parent
a34021cd18
commit
d94dc565ba
2 changed files with 7 additions and 1 deletions
|
@ -9,6 +9,12 @@
|
|||
border-left: $caret-width-base solid transparent;
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
.caret {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue