fix: z index weirdness
This commit is contained in:
1 parent
8003049109
commit
fd955e8401
2 files changed
+18
-11
No files matched your search
@@ -105,7 +105,7 @@
|
|||||||
<ul
|
<ul
|
||||||
in:fly={{ opacity: 0, y: -4 }}
|
in:fly={{ opacity: 0, y: -4 }}
|
||||||
class={isParent
|
class={isParent
|
||||||
? 'divide-y dark:divide-zinc-800 divide-slate-200'
|
? 'divide-y dark:divide-zinc-800 divide-slate-100'
|
||||||
: 'pl-3.5 border-l border-slate-200 dark:border-zinc-800 my-1'}
|
: 'pl-3.5 border-l border-slate-200 dark:border-zinc-800 my-1'}
|
||||||
>
|
>
|
||||||
{#each nodes as node (node.comment_view.comment.id)}
|
{#each nodes as node (node.comment_view.comment.id)}
|
||||||
|
|||||||
@@ -30,7 +30,12 @@
|
|||||||
} from '$lib/components/lemmy/moderation/moderation.js'
|
} from '$lib/components/lemmy/moderation/moderation.js'
|
||||||
import ModerationMenu from '$lib/components/lemmy/moderation/ModerationMenu.svelte'
|
import ModerationMenu from '$lib/components/lemmy/moderation/ModerationMenu.svelte'
|
||||||
import { profile } from '$lib/auth.js'
|
import { profile } from '$lib/auth.js'
|
||||||
import { contentView, deleteItem, markAsRead, save } from '$lib/lemmy/contentview.js'
|
import {
|
||||||
|
contentView,
|
||||||
|
deleteItem,
|
||||||
|
markAsRead,
|
||||||
|
save,
|
||||||
|
} from '$lib/lemmy/contentview.js'
|
||||||
import { setSessionStorage } from '$lib/session.js'
|
import { setSessionStorage } from '$lib/session.js'
|
||||||
import { goto } from '$app/navigation'
|
import { goto } from '$app/navigation'
|
||||||
import { userSettings } from '$lib/settings.js'
|
import { userSettings } from '$lib/settings.js'
|
||||||
@@ -88,7 +93,7 @@
|
|||||||
</Modal>
|
</Modal>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="flex flex-row gap-2 items-center h-8 z-10">
|
<div class="flex flex-row gap-2 items-center h-8">
|
||||||
<PostVote
|
<PostVote
|
||||||
post={post.post}
|
post={post.post}
|
||||||
bind:vote={post.my_vote}
|
bind:vote={post.my_vote}
|
||||||
@@ -142,7 +147,12 @@
|
|||||||
disabled={saving}
|
disabled={saving}
|
||||||
title={post.saved ? 'Unsave' : 'Save'}
|
title={post.saved ? 'Unsave' : 'Save'}
|
||||||
>
|
>
|
||||||
<Icon src={post.saved ? BookmarkSlash : Bookmark} size="16" mini slot="prefix" />
|
<Icon
|
||||||
|
src={post.saved ? BookmarkSlash : Bookmark}
|
||||||
|
size="16"
|
||||||
|
mini
|
||||||
|
slot="prefix"
|
||||||
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
@@ -153,12 +163,7 @@
|
|||||||
targetClass="h-full"
|
targetClass="h-full"
|
||||||
title="Post actions"
|
title="Post actions"
|
||||||
>
|
>
|
||||||
<Button
|
<Button slot="target" title="Post actions" color="ghost" size="square-md">
|
||||||
slot="target"
|
|
||||||
title="Post actions"
|
|
||||||
color="ghost"
|
|
||||||
size="square-md"
|
|
||||||
>
|
|
||||||
<Icon slot="prefix" src={EllipsisHorizontal} width={16} mini />
|
<Icon slot="prefix" src={EllipsisHorizontal} width={16} mini />
|
||||||
</Button>
|
</Button>
|
||||||
<MenuDivider>Creator</MenuDivider>
|
<MenuDivider>Creator</MenuDivider>
|
||||||
@@ -183,7 +188,9 @@
|
|||||||
e.stopImmediatePropagation()
|
e.stopImmediatePropagation()
|
||||||
|
|
||||||
fediseerLoading = true
|
fediseerLoading = true
|
||||||
const data = await fediseer.getInstanceInfo(new URL(post.community.actor_id).hostname)
|
const data = await fediseer.getInstanceInfo(
|
||||||
|
new URL(post.community.actor_id).hostname
|
||||||
|
)
|
||||||
console.log(data)
|
console.log(data)
|
||||||
fediseerData = data
|
fediseerData = data
|
||||||
fediseerOpen = true
|
fediseerOpen = true
|
||||||
|
|||||||
Reference in new issue
Block a user