Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
d94dc565
Commit
d94dc565
authored
Mar 16, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed alignment of download dropdown
With the new dropdown CSS - some dropdowns might look a bit odd
parent
a34021cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+6
-0
app/views/projects/repositories/_download_archive.html.haml
app/views/projects/repositories/_download_archive.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
d94dc565
...
@@ -9,6 +9,12 @@
...
@@ -9,6 +9,12 @@
border-left
:
$caret-width-base
solid
transparent
;
border-left
:
$caret-width-base
solid
transparent
;
}
}
.btn-group
{
.caret
{
margin-left
:
0
;
}
}
.dropdown
{
.dropdown
{
position
:
relative
;
position
:
relative
;
}
}
...
...
app/views/projects/repositories/_download_archive.html.haml
View file @
d94dc565
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
%span
.caret
%span
.caret
%span
.sr-only
%span
.sr-only
Select Archive Format
Select Archive Format
%ul
.col-xs-10.dropdown-menu
{
role:
'menu'
}
%ul
.col-xs-10.dropdown-menu
.dropdown-menu-align-right
{
role:
'menu'
}
%li
%li
=
link_to
archive_namespace_project_repository_path
(
@project
.
namespace
,
@project
,
ref:
ref
,
format:
'zip'
),
rel:
'nofollow'
do
=
link_to
archive_namespace_project_repository_path
(
@project
.
namespace
,
@project
,
ref:
ref
,
format:
'zip'
),
rel:
'nofollow'
do
%i
.fa.fa-download
%i
.fa.fa-download
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment