diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 17:48:40 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 17:48:40 -0500 |
commit | 7d00cc9c409bf9c04d7a2f6f1b69bcf6efa9c10c (patch) | |
tree | 0535c6aae62bda0715f2617a42e59b4d31ae9a7d /app/views/projects/_stat_anchor_list.html.haml | |
parent | b4d87b8eaa3f5fec344c802fe964bac22827da3c (diff) | |
download | gitlab-ce-7d00cc9c409bf9c04d7a2f6f1b69bcf6efa9c10c.tar.gz |
[skip ci] Fix alignment for project stats
Diffstat (limited to 'app/views/projects/_stat_anchor_list.html.haml')
-rw-r--r-- | app/views/projects/_stat_anchor_list.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_stat_anchor_list.html.haml b/app/views/projects/_stat_anchor_list.html.haml index 11ce686167a..8bffd1396ae 100644 --- a/app/views/projects/_stat_anchor_list.html.haml +++ b/app/views/projects/_stat_anchor_list.html.haml @@ -1,7 +1,7 @@ - anchors = local_assigns.fetch(:anchors, []) - return unless anchors.any? -%ul.nav +%ul.nav.justify-content-center - anchors.each do |anchor| %li.nav-item = link_to_if anchor.link, anchor.label, anchor.link, class: anchor.enabled ? 'nav-link stat-link' : "nav-link btn btn-#{anchor.class_modifier || 'missing'}" do |