[skip ci] Fix alignment for project stats
This commit is contained in:
parent
b4d87b8eaa
commit
7d00cc9c40
3 changed files with 3 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue