fix: cursor-pointer shenanigans
This commit is contained in:
4 files changed
+10
-9
No files matched your search
@@ -22,11 +22,13 @@
|
||||
}: Props = $props()
|
||||
</script>
|
||||
|
||||
<Disclosure {extended} bind:open class=" gap-2 {clazz}">
|
||||
<Disclosure {extended} bind:open class={['gap-2', clazz]}>
|
||||
{#snippet summary()}
|
||||
<div
|
||||
class="font-medium w-full text-left flex flex-row items-center justify-between hover:text-primary-900
|
||||
dark:hover:text-primary-100 transition-colors h-full z-0 group relative"
|
||||
class={[
|
||||
'font-medium w-full text-left flex flex-row items-center justify-between hover:text-primary-900',
|
||||
'dark:hover:text-primary-100 transition-colors h-full z-0 group relative cursor-pointer',
|
||||
]}
|
||||
>
|
||||
<div class="flex flex-row gap-1 items-center w-full">
|
||||
{@render title?.(open)}
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
}}
|
||||
href="/"
|
||||
label={$t('nav.home')}
|
||||
class="ml-2 lg:ml-2 logo border-0 lg:rounded-full! lg:w-10 lg:h-10 lg:p-0!"
|
||||
class="ml-2 lg:ml-2 logo border-0 lg:rounded-full! lg:w-10! lg:h-10 lg:px-0!"
|
||||
adaptive={false}
|
||||
>
|
||||
{#snippet customIcon()}
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
Select,
|
||||
Spinner,
|
||||
toast,
|
||||
Option,
|
||||
} from 'mono-svelte'
|
||||
import Avatar from '../Avatar.svelte'
|
||||
import {
|
||||
@@ -38,9 +39,6 @@
|
||||
import { site } from '$lib/lemmy.svelte'
|
||||
import SiteCard from '$lib/components/lemmy/SiteCard.svelte'
|
||||
import { t } from '$lib/translations'
|
||||
import UserLink from '$lib/components/lemmy/user/UserLink.svelte'
|
||||
import Option from 'mono-svelte/forms/select/Option.svelte'
|
||||
import { env } from '$env/dynamic/public'
|
||||
|
||||
let showInstance = $state(false)
|
||||
|
||||
@@ -72,7 +70,7 @@
|
||||
<button
|
||||
class="w-10 h-10 rounded-full border-slate-200 dark:border-zinc-700
|
||||
transition-all bg-slate-50 dark:bg-zinc-900 relative
|
||||
hover:bg-slate-200 dark:hover:bg-zinc-700 group {buttonClass}"
|
||||
hover:bg-slate-200 dark:hover:bg-zinc-700 group cursor-pointer {buttonClass}"
|
||||
title={$t('profile.profile')}
|
||||
>
|
||||
{#if profile.data?.user}
|
||||
|
||||
Reference in new issue
Block a user