Commit 7d00cc9c authored by Clement Ho's avatar Clement Ho

[skip ci] Fix alignment for project stats

parent b4d87b8e
......@@ -252,7 +252,7 @@
margin: 15px 5px 0 0;
input {
height: 28px;
height: 29px;
}
}
......@@ -883,7 +883,6 @@ pre.light-well {
font-size: 14px;
margin-left: -1px;
cursor: auto;
width: 101%;
}
}
......
......@@ -37,7 +37,7 @@
= render 'projects/buttons/star'
= render 'projects/buttons/fork'
%span.d-none.d-sm-block
%span.d-none.d-sm-inline
- if can?(current_user, :download_code, @project)
.project-clone-holder
= render "shared/clone_panel"
......
- 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment