ui: restyling navbar

This commit is contained in:
Anthony Fu 2022-11-23 16:08:49 +08:00
parent c42fe49ce9
commit 507aedceee
17 changed files with 56 additions and 36 deletions

View file

@ -18,7 +18,7 @@ const displayName = $computed(() => getDisplayName(notification.account))
</template>
<template v-if="notification.type === 'follow_request'">
<div flex ml-4>
<div i-ri:user-follow-fill mr-3 color-gray />{{ displayName }} requested to follow you
<div i-ri:user-follow-fill mr-3 />{{ displayName }} requested to follow you
</div>
<!-- TODO: accept request -->
<AccountCard :account="notification.account" p3 />

View file

@ -9,12 +9,11 @@ const { paginator } = defineProps<{
<template>
<CommonPaginator
:paginator="paginator"
border="t base"
>
<template #default="{ item }">
<NotificationCard
:notification="item"
border="t base" pt-4
border="b base" pt-4
/>
</template>
</CommonPaginator>