fix: replying-to padding

pull/1909/head
Anthony Fu 2023-03-19 23:36:09 +01:00
rodzic 5dd3f4bfa3
commit 791642fac4
2 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -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 />

Wyświetl plik

@ -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') }}