Commit aa060e68 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'dz-fix-fork-counter' into 'master'

Fix fork counter ui bug for safari

## What does this MR do?

Fixes UI bug on safari when fork button has blue arrow

## Screenshots 

![Screenshot_2016-05-19_22.10.21](/uploads/d923d8fc6bc12ee8f7052390bd5d7c51/Screenshot_2016-05-19_22.10.21.png)![Screenshot_2016-05-19_22.09.38](/uploads/130eb8b4a09b2ba5b7c5a83fed543dbf/Screenshot_2016-05-19_22.09.38.png)

See merge request !4221
parents 73403c4c a768c04b
...@@ -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