Adjusts tag link to avoid underlining spaces
This commit is contained in:
parent
b146415798
commit
ddf6253d99
3 changed files with 9 additions and 4 deletions
|
@ -11,6 +11,7 @@
|
|||
.prepend-top-10 { margin-top: 10px; }
|
||||
.prepend-top-default { margin-top: $gl-padding !important; }
|
||||
.prepend-top-20 { margin-top: 20px; }
|
||||
.prepend-left-4 { margin-left: 4px; }
|
||||
.prepend-left-5 { margin-left: 5px; }
|
||||
.prepend-left-10 { margin-left: 10px; }
|
||||
.prepend-left-default { margin-left: $gl-padding; }
|
||||
|
|
|
@ -2,12 +2,11 @@
|
|||
- release = @releases.find { |release| release.tag == tag.name }
|
||||
%li.flex-row
|
||||
.row-main-content.str-truncated
|
||||
= link_to project_tag_path(@project, tag.name), class: 'item-title ref-name' do
|
||||
= icon('tag')
|
||||
= tag.name
|
||||
= icon('tag')
|
||||
= link_to tag.name, project_tag_path(@project, tag.name), class: 'item-title ref-name prepend-left-4'
|
||||
|
||||
- if protected_tag?(@project, tag)
|
||||
%span.label.label-success
|
||||
%span.label.label-success.prepend-left-4
|
||||
protected
|
||||
|
||||
- if tag.message.present?
|
||||
|
|
5
changelogs/unreleased/tag-link-size.yml
Normal file
5
changelogs/unreleased/tag-link-size.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Adjusts tag link to avoid underlining spaces
|
||||
merge_request: 14544
|
||||
author: Guilherme Vieira
|
||||
type: fixed
|
Loading…
Reference in a new issue