filter placeholder role so it cannot be selected for invites

This commit is contained in:
Gregor Vostrak
2024-04-21 00:25:43 +02:00
parent c5a6608211
commit 338e4ec469
4 changed files with 13 additions and 4 deletions

View File

@@ -13,8 +13,8 @@ defineProps<{
:href="href"
:class="
twMerge(
'contents [&>*]:hover:bg-white/5 [&>*]:transition [&>*]:cursor-pointer [&>*]:border-row-separator [&>*]:border-b',
href ? '[&>*]:cursor-pointer' : ''
'contents [&>*]:transition [&>*]:border-row-separator [&>*]:border-b',
href ? '[&>*]:cursor-pointer [&>*]:hover:bg-white/5' : ''
)
">
<slot></slot>