Commit a768c04b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix fork counter ui bug for safari

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f26389a0
...@@ -149,6 +149,10 @@ ...@@ -149,6 +149,10 @@
white-space: nowrap; white-space: nowrap;
margin: 0 11px 0 4px; margin: 0 11px 0 4px;
a {
color: inherit;
}
&:hover { &:hover {
background: #fff; background: #fff;
} }
...@@ -161,7 +165,7 @@ ...@@ -161,7 +165,7 @@
display: inline-table; display: inline-table;
margin-right: 12px; margin-right: 12px;
a { > a {
margin: -1px; margin: -1px;
} }
} }
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
= link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn has-tooltip' do = link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn has-tooltip' do
= icon('code-fork fw') = icon('code-fork fw')
Fork Fork
= link_to namespace_project_forks_path(@project.namespace, @project), class: 'count-with-arrow' do %div.count-with-arrow
%span.arrow %span.arrow
%span.count %span.count
= @project.forks_count = link_to namespace_project_forks_path(@project.namespace, @project) do
= @project.forks_count
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