upgrade: mono-svelte: 0.4.1 -> 1.2.2
This commit is contained in:
1 parent
cac7c992d9
commit
2d03071e67
14 files changed
+54
-23
No files matched your search
@@ -85,7 +85,7 @@
|
||||
cursor-pointer"
|
||||
>
|
||||
{#each admins as admin}
|
||||
<Popover openOnHover origin="top-left" class="transition-all">
|
||||
<Popover openOnHover placement="top-start" class="transition-all">
|
||||
<a
|
||||
class="block ring rounded-full ring-slate-50 dark:ring-zinc-950 transition-all"
|
||||
href="/u/{admin.person.name}@{new URL(admin.person.actor_id)
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
{#if $profile?.user && (amMod($profile?.user, comment.community) || isAdmin($profile.user))}
|
||||
<CommentModerationMenu bind:item={comment} />
|
||||
{/if}
|
||||
<Menu origin="bottom-center">
|
||||
<Menu placement="bottom">
|
||||
<Button
|
||||
slot="target"
|
||||
class="!p-1"
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
cursor-pointer"
|
||||
>
|
||||
{#each moderators as moderator}
|
||||
<Popover openOnHover origin="top-left" class="transition-all">
|
||||
<Popover openOnHover placement="top-start" class="transition-all">
|
||||
<a
|
||||
class="block ring rounded-full ring-slate-50 dark:ring-zinc-950 transition-all"
|
||||
href="/u/{moderator.moderator.name}@{new URL(
|
||||
@@ -246,7 +246,7 @@
|
||||
<Icon src={Cog6Tooth} mini size="16" slot="prefix" />
|
||||
</Button>
|
||||
{/if}
|
||||
<Menu origin="bottom-right">
|
||||
<Menu placement="bottom-end">
|
||||
<Button size="square-md" slot="target">
|
||||
<Icon src={EllipsisHorizontal} size="16" mini slot="prefix" />
|
||||
</Button>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
export let item: PostView | CommentView
|
||||
</script>
|
||||
|
||||
<Menu origin="bottom-center" class="top-0 h-[26px] w-[26px] ">
|
||||
<Menu placement="bottom" class="top-0 h-[26px] w-[26px] ">
|
||||
<Button
|
||||
class="w-[26px] h-[26px] hover:!text-green-500 dark:text-zinc-400 text-slate-600"
|
||||
size="square-md"
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Menu origin="bottom-right">
|
||||
<Menu placement="bottom-end">
|
||||
<Button
|
||||
class="hover:!text-green-500 dark:text-zinc-400 text-slate-500"
|
||||
slot="target"
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
<ModerationMenu bind:item={post} community={post.community} />
|
||||
{/if}
|
||||
<Menu
|
||||
origin="bottom-right"
|
||||
placement="bottom-end"
|
||||
containerClass="overflow-auto max-h-[400px]"
|
||||
class="h-8"
|
||||
targetClass="h-full"
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
Newspaper,
|
||||
PencilSquare,
|
||||
Plus,
|
||||
ServerStack,
|
||||
Sun,
|
||||
UserCircle,
|
||||
UserGroup,
|
||||
@@ -110,9 +111,9 @@
|
||||
<Button
|
||||
href="/admin"
|
||||
aria-label="Admin"
|
||||
class="max-md:w-9 max-md:h-8 max-md:!p-0 "
|
||||
class="max-md:w-9 max-md:h-8 max-md:!p-0 dark:text-zinc-300 text-slate-700"
|
||||
>
|
||||
<Icon src={CommandLine} mini size="16" slot="prefix" />
|
||||
<Icon src={ServerStack} mini size="18" slot="prefix" />
|
||||
<span class="hidden md:inline">Admin</span>
|
||||
</Button>
|
||||
{/if}
|
||||
@@ -147,7 +148,7 @@
|
||||
<Icon mini src={GlobeAlt} size="16" slot="prefix" />
|
||||
<span class="hidden md:inline">Explore</span>
|
||||
</Button>
|
||||
<Menu origin="bottom-right" targetClass="h-8">
|
||||
<Menu placement="bottom-end" targetClass="h-8">
|
||||
<Button
|
||||
color="primary"
|
||||
slot="target"
|
||||
@@ -185,7 +186,7 @@
|
||||
</Menu>
|
||||
</div>
|
||||
<Menu
|
||||
origin="bottom-right"
|
||||
placement="bottom-end"
|
||||
itemsClass="h-8 md:h-8 z-10"
|
||||
targetClass="z-10 h-8"
|
||||
containerClass="!max-h-[28rem] z-10"
|
||||
|
||||
Reference in new issue
Block a user