mirror of
https://github.com/elk-zone/elk
synced 2024-11-27 14:28:10 +09:00
fix: replying-to padding
This commit is contained in:
parent
5dd3f4bfa3
commit
791642fac4
@ -10,11 +10,18 @@ const { link = true, avatar = true } = defineProps<{
|
|||||||
const userSettings = useUserSettings()
|
const userSettings = useUserSettings()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script lang="ts">
|
||||||
|
export default {
|
||||||
|
inheritAttrs: false,
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<AccountHoverWrapper :account="account">
|
<AccountHoverWrapper :account="account">
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
:to="link ? getAccountRoute(account) : undefined"
|
: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
|
min-w-0 flex gap-2 items-center
|
||||||
>
|
>
|
||||||
<AccountAvatar v-if="avatar" :account="account" w-5 h-5 />
|
<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>
|
<div ws-nowrap flex>
|
||||||
<i18n-t keypath="status.replying_to">
|
<i18n-t keypath="status.replying_to">
|
||||||
<template v-if="account">
|
<template v-if="account">
|
||||||
<AccountInlineInfo :account="account" :link="false" m-inline-1 />
|
<AccountInlineInfo :account="account" :link="false" m-inline-2 />
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
{{ $t('status.someone') }}
|
{{ $t('status.someone') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user