fix: cursor-pointer shenanigans

This commit is contained in:
James Xylight committed 2025-06-06 11:46:12 -07:00
1 parent 251cbb5540
commit 33c1094310
4 files changed
+10 -9

No files matched your search

+5 -3
View File
@@ -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)}
+1 -1
View File
@@ -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()}
+2 -4
View File
@@ -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}
+2 -1
View File
@@ -1,10 +1,11 @@
<script lang="ts">
import { backOut, expoOut } from 'svelte/easing'
import type { ClassValue } from 'svelte/elements'
import { slide } from 'svelte/transition'
interface Props {
open?: boolean
class?: string
class?: ClassValue
summary?: import('svelte').Snippet<[any]>
extended?: import('svelte').Snippet
children?: import('svelte').Snippet<[any]>