Skip to content
Snippets Groups Projects
Commit c4340ad4 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

move favicon

parent 8a9654b5
No related branches found
No related tags found
2 merge requests!12172.1.0 into master,!1076status.vue: Add support for favicons
Pipeline #27400 passed
......@@ -142,12 +142,12 @@
:to="userProfileLink"
>
{{ status.user.screen_name }}
<img
height="18px"
v-if="!!(status.user && status.user.favicon)"
:src="status.user.favicon"
>
</router-link>
<img
class="status-favicon"
v-if="!!(status.user && status.user.favicon)"
:src="status.user.favicon"
>
</div>
<span class="heading-right">
......@@ -176,18 +176,8 @@
class="source_url"
title="Source"
>
<img
height="18px"
v-if="!!(status.user && status.user.favicon)"
:src="status.user.favicon"
>
<i v-else class="button-icon icon-link-ext-alt" />
<i class="button-icon icon-link-ext-alt" />
</a>
<img
v-else-if="!!(status.user && status.user.favicon)"
height="18px"
:src="status.user.favicon"
>
<template v-if="expandable && !isPreview">
<a
href="#"
......@@ -441,6 +431,12 @@ $status-margin: 0.75em;
}
}
.status-favicon {
height: 18px;
width: 18px;
margin-right: 0.4em;
}
.media-heading {
padding: 0;
vertical-align: bottom;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment