embedded snippet title changes

This commit is contained in:
haseeb 2018-02-21 19:39:33 +05:30
parent 4ee2f74ba0
commit bab24c2fcd
5 changed files with 11 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 996 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -84,6 +84,15 @@
font-weight: $gl-font-weight-bold;
}
.gitlab-embedded-snippets-title {
text-decoration: none;
color: $gl-text-color;
&:hover{
text-decoration: underline;
}
}
.gitlab-logo {
display: inline-block;
padding-left: 5px;

View file

@ -5,7 +5,8 @@
= external_snippet_icon('doc_text')
%strong.file-title-name
= blob.name
%a.gitlab-embedded-snippets-title{ href: url_for(only_path: false, overwrite_params: nil) }
= blob.name
%small
= number_to_human_size(blob.raw_size)