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,6 +125,7 @@ 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 />
<div flex>
<CommonTooltip :content="createdAt"> <CommonTooltip :content="createdAt">
<a :title="status.createdAt" :href="getStatusRoute(status).href" @click.prevent="go($event)"> <a :title="status.createdAt" :href="getStatusRoute(status).href" @click.prevent="go($event)">
<time text-sm ws-nowrap hover:underline :datetime="status.createdAt"> <time text-sm ws-nowrap hover:underline :datetime="status.createdAt">
@ -134,6 +135,7 @@ const isDM = $computed(() => status.visibility === 'direct')
</CommonTooltip> </CommonTooltip>
<StatusEditIndicator :status="status" inline /> <StatusEditIndicator :status="status" inline />
</div> </div>
</div>
<StatusActionsMore :status="status" mr--2 /> <StatusActionsMore :status="status" mr--2 />
</div> </div>
<StatusContent :status="status" :context="context" mb2 :class="{ mt2: isDM }" /> <StatusContent :status="status" :context="context" mb2 :class="{ mt2: isDM }" />