misc: Tweak menus
This commit is contained in:
1 parent
2bc4d19ae0
commit
d1160b42ed
2 files changed
+3
-3
No files matched your search
@@ -46,7 +46,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex flex-row gap-2 items-center pt-2 z-50">
|
<div class="flex flex-row gap-2 items-center pt-2">
|
||||||
<PostVote post={post.post} vote={post.my_vote} score={post.counts.score} />
|
<PostVote post={post.post} vote={post.my_vote} score={post.counts.score} />
|
||||||
|
|
||||||
<Link color={Color.border} href="/post/{getInstance()}/{post.post.id}">
|
<Link color={Color.border} href="/post/{getInstance()}/{post.post.id}">
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
<Icon src={Newspaper} width={16} mini />
|
<Icon src={Newspaper} width={16} mini />
|
||||||
<span>{post.community.title}</span>
|
<span>{post.community.title}</span>
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<hr class="w-[90%] mx-auto opacity-10 my-2" />
|
<hr class="w-[90%] mx-auto opacity-100 dark:opacity-10 my-2" />
|
||||||
<span class="mx-4 text-xs opacity-80 text-left my-2">Actions</span>
|
<span class="mx-4 text-xs opacity-80 text-left my-2">Actions</span>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
? 'origin-top-right right-0'
|
? 'origin-top-right right-0'
|
||||||
: 'origin-top-left left-0'}
|
: 'origin-top-left left-0'}
|
||||||
{top ? 'bottom-[100%] origin-bottom-left' : 'top-[100%]'}
|
{top ? 'bottom-[100%] origin-bottom-left' : 'top-[100%]'}
|
||||||
rounded-md py-2 min-w-[16rem] my-2 flex flex-col shadow-lg {itemsClass
|
rounded-md py-2 min-w-[16rem] my-2 flex flex-col shadow-md {itemsClass
|
||||||
? itemsClass
|
? itemsClass
|
||||||
: 'bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800'}"
|
: 'bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800'}"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user