Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2019-05-22 17:52:05 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2019-05-23 15:23:27 +0300
commitdd8d2fabd3bc5fcbff3f12fae37f8914098bf5cd (patch)
tree86dc34b83d222330c8a4e8cacebbd4f9a513f37d /app/views/projects/buttons
parentbc4a18ecb9e85a5ee51541ed25b2cb9c4a2768b5 (diff)
Group download buttons in a .btn-group
Diffstat (limited to 'app/views/projects/buttons')
-rw-r--r--app/views/projects/buttons/_download_links.html.haml2
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}"