ui: move account settings link under profile

This commit is contained in:
Anthony Fu 2023-01-05 09:59:49 +01:00
parent bd1b9fb5c8
commit d279d618a5
5 changed files with 23 additions and 13 deletions

View file

@ -8,6 +8,7 @@ const props = defineProps<{
command?: boolean
disabled?: boolean
external?: true
large?: true
}>()
const router = useRouter()
@ -55,7 +56,10 @@ useCommand({
:class="$slots.description ? 'w-12 h-12' : ''"
>
<slot name="icon">
<div v-if="icon" :class="icon" md:text-size-inherit text-xl />
<div
v-if="icon"
:class="[icon, large ? 'text-xl mr-1' : 'text-xl md:text-size-inherit']"
/>
</slot>
</div>
<div space-y-1>