diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-06-18 17:09:30 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-06-18 17:09:30 +0300 |
| commit | c4340ad46786cef557a2cc11d1248fcfef16d366 (patch) | |
| tree | 56f1676f2de7f5477ce9959ecbcc1da848a34ff8 /src | |
| parent | 8a9654b511268338d46f351da43a6bd85fbcb972 (diff) | |
move favicon
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/status/status.vue | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 0afb67fd..88be3c0c 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -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; |
