Commit ccb00f35 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '31964-make-snippet-list-easier-to-scan' into 'master'

Resolve "Make snippet list easier to scan"

Closes #31964

See merge request gitlab-org/gitlab!19490
parents 30416a46 907a2297
......@@ -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