diff options
author | Robin Appelman <robin@icewind.nl> | 2020-10-08 15:09:44 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-10-16 14:06:04 +0200 |
commit | 4f127bd298c5392ca5bb22c9fa4a442d05b0da5a (patch) | |
tree | 789dae6c70c55ad201e1cb77ba73d5edc3ca87b3 /src | |
parent | ea53553e913f3bb4303aa28c734b586d7572da7e (diff) |
fix boosted layout
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/TimelineEntry.vue | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/src/components/TimelineEntry.vue b/src/components/TimelineEntry.vue index db83637f..cb46bd29 100644 --- a/src/components/TimelineEntry.vue +++ b/src/components/TimelineEntry.vue @@ -6,21 +6,23 @@ {{ actionSummary }} </span> </template> - <template v-else-if="item.type === 'Announce'" class="boost"> - <div class="container-icon-boost"> + <template v-else-if="item.type === 'Announce'"> + <div class="container-icon-boost boost"> <span class="icon-boost" /> </div> - <router-link v-if="item.actor_info" :to="{ name: 'profile', params: { account: item.local ? item.actor_info.preferredUsername : item.actor_info.account }}"> - <span v-tooltip.bottom="item.actor_info.account" class="post-author"> - {{ userDisplayName(item.actor_info) }} - </span> - </router-link> - <a v-else :href="item.attributedTo"> - <span class="post-author-id"> - {{ item.attributedTo }} - </span> - </a> - {{ boosted }} + <div class="boost"> + <router-link v-if="item.actor_info" :to="{ name: 'profile', params: { account: item.local ? item.actor_info.preferredUsername : item.actor_info.account }}"> + <span v-tooltip.bottom="item.actor_info.account" class="post-author"> + {{ userDisplayName(item.actor_info) }} + </span> + </router-link> + <a v-else :href="item.attributedTo"> + <span class="post-author-id"> + {{ item.attributedTo }} + </span> + </a> + {{ boosted }} + </div> </template> <user-entry v-if="item.type === 'SocialAppNotification' && item.details.actor" :key="item.details.actor.id" :item="item.details.actor" /> <template v-else> |