Commit 907a2297 authored by Marcel van Remmerden's avatar Marcel van Remmerden Committed by Annabel Dunstone Gray

Make snippet list easier to scan

parent 30416a46
......@@ -4,7 +4,12 @@
}
.snippet-filename {
padding: 0 2px;
color: $gl-text-color-secondary;
font-weight: normal;
}
.snippet-info {
color: $gl-text-color-secondary;
}
}
......
......@@ -7,8 +7,9 @@
.title
= link_to reliable_snippet_path(snippet) do
= snippet.title
- if snippet.file_name
%span.snippet-filename.monospace.d-none.d-sm-inline-block
- if snippet.file_name.present?
%span.snippet-filename.d-none.d-sm-inline-block.ml-2
= sprite_icon('doc-code', size: 16, css_class: 'file-icon align-text-bottom')
= snippet.file_name
%ul.controls
......
---
title: Make snippet list easier to scan
merge_request: 19490
author:
type: other
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