fix: edit indicator wrap for small screens

This commit is contained in:
patak 2022-12-29 14:14:52 +01:00
parent b81ca280e5
commit 3922db012f

View file

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