Commit 9fb7127e authored by Jacques Erasmus's avatar Jacques Erasmus

Move link icon to CSS

Moved the link icon to CSS to reduce transfer size

Changelog: performance
parent 5226c013
- page_title _("Blame"), @blob.path, @ref
- link_icon = sprite_icon("link", size: 12)
#blob-content-holder.tree-holder
= render "projects/blob/breadcrumb", blob: @blob, blame: true
......@@ -48,7 +47,7 @@
%td.line-numbers
- (current_line...(current_line + line_count)).each do |i|
%a.diff-line-num.gl-justify-content-end{ href: "#L#{i}", id: "L#{i}", 'data-line-number' => i, class: "gl-display-flex!" }
= link_icon
.file-line-num
= i
\
......
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