mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-07 01:19:57 +00:00
fix: replying-to padding
This commit is contained in:
parent
5dd3f4bfa3
commit
791642fac4
2 changed files with 9 additions and 2 deletions
|
@ -10,11 +10,18 @@ const { link = true, avatar = true } = defineProps<{
|
|||
const userSettings = useUserSettings()
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
inheritAttrs: false,
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AccountHoverWrapper :account="account">
|
||||
<NuxtLink
|
||||
:to="link ? getAccountRoute(account) : undefined"
|
||||
:class="link ? 'text-link-rounded -ml-1.8rem pl-1.8rem rtl-(ml0 pl-0.5rem -mr-1.8rem pr-1.8rem)' : ''"
|
||||
:class="link ? 'text-link-rounded -ml-1.5rem pl-1.5rem rtl-(ml0 pl-0.5rem -mr-1.5rem pr-1.5rem)' : ''"
|
||||
v-bind="$attrs"
|
||||
min-w-0 flex gap-2 items-center
|
||||
>
|
||||
<AccountAvatar v-if="avatar" :account="account" w-5 h-5 />
|
||||
|
|
|
@ -30,7 +30,7 @@ const account = isSelf ? computed(() => status.account) : useAccountById(status.
|
|||
<div ws-nowrap flex>
|
||||
<i18n-t keypath="status.replying_to">
|
||||
<template v-if="account">
|
||||
<AccountInlineInfo :account="account" :link="false" m-inline-1 />
|
||||
<AccountInlineInfo :account="account" :link="false" m-inline-2 />
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ $t('status.someone') }}
|
||||
|
|
Loading…
Reference in a new issue