Resolve "Icons on forks page are to big"

This commit is contained in:
Simon Knox 2018-01-16 15:52:22 +00:00 committed by Fatih Acet
parent 0f449ecc37
commit 5d8b06d28f
3 changed files with 8 additions and 3 deletions

View file

@ -31,11 +31,11 @@
- if current_user && can?(current_user, :fork_project, @project)
- if current_user.already_forked?(@project) && current_user.manageable_namespaces.size < 2
= link_to namespace_project_path(current_user, current_user.fork_of(@project)), title: 'Go to your fork', class: 'btn btn-new' do
= custom_icon('icon_fork')
= sprite_icon('fork', size: 12)
%span Fork
- else
= link_to new_project_fork_path(@project), title: "Fork project", class: 'btn btn-new' do
= custom_icon('icon_fork')
= sprite_icon('fork', size: 12)
%span Fork

View file

@ -52,7 +52,7 @@
= render_project_pipeline_status(project.pipeline_status)
- if forks
%span.prepend-left-10
= sprite_icon('fork')
= sprite_icon('fork', size: 12)
= number_with_delimiter(project.forks_count)
- if stars
%span.prepend-left-10

View file

@ -0,0 +1,5 @@
---
title: Fix giant fork icons on forks page
merge_request: 16474
author:
type: fixed