fix: edit indicator wrap for small screens

zio/stable
patak 2022-12-29 14:14:52 +01:00
parent b81ca280e5
commit 3922db012f
1 changed files with 10 additions and 8 deletions

View File

@ -125,14 +125,16 @@ const isDM = $computed(() => status.visibility === 'direct')
<div flex-auto /> <div flex-auto />
<div v-if="!isZenMode" text-sm text-secondary flex="~ row nowrap" hover:underline> <div v-if="!isZenMode" text-sm text-secondary flex="~ row nowrap" hover:underline>
<AccountBotIndicator v-if="status.account.bot" mr-2 /> <AccountBotIndicator v-if="status.account.bot" mr-2 />
<CommonTooltip :content="createdAt"> <div flex>
<a :title="status.createdAt" :href="getStatusRoute(status).href" @click.prevent="go($event)"> <CommonTooltip :content="createdAt">
<time text-sm ws-nowrap hover:underline :datetime="status.createdAt"> <a :title="status.createdAt" :href="getStatusRoute(status).href" @click.prevent="go($event)">
{{ timeago }} <time text-sm ws-nowrap hover:underline :datetime="status.createdAt">
</time> {{ timeago }}
</a> </time>
</CommonTooltip> </a>
<StatusEditIndicator :status="status" inline /> </CommonTooltip>
<StatusEditIndicator :status="status" inline />
</div>
</div> </div>
<StatusActionsMore :status="status" mr--2 /> <StatusActionsMore :status="status" mr--2 />
</div> </div>