Skip to content

Commit

Permalink
center popover
Browse files Browse the repository at this point in the history
  • Loading branch information
vcoppe committed Jun 27, 2024
1 parent 1fdcc42 commit eb9f0e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/lib/components/file-list/FileListNodeLabel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
{#if item instanceof ListFileItem || item instanceof ListTrackItem}
<Popover.Root bind:open={openEditMetadata}>
<Popover.Trigger />
<Popover.Content side="top" sideOffset={22} class="flex flex-col gap-3">
<Popover.Content side="top" sideOffset={22} alignOffset={30} class="flex flex-col gap-3">
<Label for="name">{$_('menu.metadata.name')}</Label>
<Input bind:value={name} id="name" class="font-semibold h-8" />
<Label for="description">{$_('menu.metadata.description')}</Label>
Expand Down Expand Up @@ -242,7 +242,7 @@
</Popover.Root>
<Popover.Root bind:open={openEditStyle}>
<Popover.Trigger />
<Popover.Content side="top" sideOffset={22} class="flex flex-col gap-3">
<Popover.Content side="top" sideOffset={22} alignOffset={30} class="flex flex-col gap-3">
<Label class="flex flex-row gap-2 items-center justify-between">
{$_('menu.style.color')}
<Input
Expand Down

0 comments on commit eb9f0e3

Please sign in to comment.