Fix fork counter ui bug for safari

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-05-19 22:09:51 -05:00
parent f26389a02a
commit a768c04ba5
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
2 changed files with 8 additions and 3 deletions

View file

@ -149,6 +149,10 @@
white-space: nowrap;
margin: 0 11px 0 4px;
a {
color: inherit;
}
&:hover {
background: #fff;
}
@ -161,7 +165,7 @@
display: inline-table;
margin-right: 12px;
a {
> a {
margin: -1px;
}
}

View file

@ -12,7 +12,8 @@
= link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn has-tooltip' do
= icon('code-fork fw')
Fork
= link_to namespace_project_forks_path(@project.namespace, @project), class: 'count-with-arrow' do
%div.count-with-arrow
%span.arrow
%span.count
= @project.forks_count
= link_to namespace_project_forks_path(@project.namespace, @project) do
= @project.forks_count