fix(search): replace button with div

zio/stable
三咲智子 2023-01-07 22:55:10 +08:00
parent cf561870f0
commit 1957a5c681
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ defineProps<{
</script> </script>
<template> <template>
<button flex gap-2 items-center> <div flex gap-2 items-center>
<AccountAvatar w-10 h-10 :account="account" shrink-0 /> <AccountAvatar w-10 h-10 :account="account" shrink-0 />
<div flex="~ col gap1" shrink h-full overflow-hidden leading-none> <div flex="~ col gap1" shrink h-full overflow-hidden leading-none>
<div flex="~" gap-2> <div flex="~" gap-2>
@ -16,5 +16,5 @@ defineProps<{
</div> </div>
<AccountHandle text-sm :account="account" text-secondary-light /> <AccountHandle text-sm :account="account" text-secondary-light />
</div> </div>
</button> </div>
</template> </template>