diff options
author | Phil Hughes <me@iamphill.com> | 2019-05-23 13:53:25 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-05-23 13:53:25 +0000 |
commit | 2cde6864d1c94e1000853d52170380114775165f (patch) | |
tree | 4f270e33cda9825e250b54936d52b3889a58d145 /app/views | |
parent | efdca2e6b41f5c05a026cc583646b13555e63986 (diff) | |
parent | dd8d2fabd3bc5fcbff3f12fae37f8914098bf5cd (diff) | |
download | gitlab-ce-2cde6864d1c94e1000853d52170380114775165f.tar.gz |
Merge branch '61880-download-btn-group' into 'master'
Group download buttons in a .btn-group
Closes #61880
See merge request gitlab-org/gitlab-ce!28599
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/buttons/_download_links.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/buttons/_download_links.html.haml b/app/views/projects/buttons/_download_links.html.haml index 7f2cd8e109e..d344167a6c5 100644 --- a/app/views/projects/buttons/_download_links.html.haml +++ b/app/views/projects/buttons/_download_links.html.haml @@ -1,5 +1,5 @@ - formats = [['zip', 'btn-primary'], ['tar.gz'], ['tar.bz2'], ['tar']] -.d-flex.justify-content-between +.btn-group.ml-0.w-100 - formats.each do |(fmt, extra_class)| = link_to fmt, project_archive_path(project, id: tree_join(ref, archive_prefix), path: path, format: fmt), rel: 'nofollow', download: '', class: "btn btn-xs #{extra_class}" |