Resolve "Icons on forks page are to big"
This commit is contained in:
parent
0f449ecc37
commit
5d8b06d28f
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
5
changelogs/unreleased/42046-fork-icon.yml
Normal file
5
changelogs/unreleased/42046-fork-icon.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix giant fork icons on forks page
|
||||
merge_request: 16474
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue