mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: paddings for menus
This commit is contained in:
1 parent
2adf2a7c52
commit
f563a2eb71
5 files changed
+8
-8
No files matched your search
@@ -34,7 +34,7 @@
|
||||
</script>
|
||||
|
||||
<div use:melt={$subTrigger}>
|
||||
<ActionMenu.Root noPadding>
|
||||
<ActionMenu.Root>
|
||||
<ActionMenu.Item.Button trailingIcon={IconChevronRight}>
|
||||
{filter.title}
|
||||
</ActionMenu.Item.Button>
|
||||
|
||||
@@ -42,12 +42,12 @@
|
||||
</Link>
|
||||
|
||||
{#if sortedDomains.length > 1}
|
||||
<Popover padding="none" let:toggle>
|
||||
<Popover padding="none" let:toggle placement="bottom-end">
|
||||
<Tag size="xs" on:click={toggle}>
|
||||
+{sortedDomains.length - 1}
|
||||
</Tag>
|
||||
<svelte:fragment slot="tooltip">
|
||||
<ActionMenu.Root>
|
||||
<ActionMenu.Root width="20px">
|
||||
{#each sortedDomains as rule, i}
|
||||
{#if i !== 0}
|
||||
<ActionMenu.Item.Anchor
|
||||
|
||||
+3
-3
@@ -93,7 +93,7 @@
|
||||
bind:value={variable.value} />
|
||||
</Layout.Stack>
|
||||
<Layout.Stack gap="s" justifyContent="flex-end" inline>
|
||||
<Popover let:toggle>
|
||||
<Popover let:toggle placement="bottom-end">
|
||||
<Button
|
||||
secondary
|
||||
icon
|
||||
@@ -101,7 +101,7 @@
|
||||
e.preventDefault();
|
||||
toggle(e);
|
||||
}}>
|
||||
<Icon size="s" icon={IconInfo} /></Button>
|
||||
<Icon icon={IconInfo} /></Button>
|
||||
<p slot="tooltip">{@html variable.description}</p>
|
||||
</Popover>
|
||||
</Layout.Stack>
|
||||
@@ -134,7 +134,7 @@
|
||||
bind:value={variable.value} />
|
||||
</Layout.Stack>
|
||||
<Layout.Stack gap="s" justifyContent="flex-end" inline>
|
||||
<Popover let:toggle>
|
||||
<Popover let:toggle placement="bottom-end">
|
||||
<Button
|
||||
secondary
|
||||
icon
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
<ActionMenu.Item.Button trailingIcon={IconDownload}>Download</ActionMenu.Item.Button>
|
||||
</ActionMenu.Root>
|
||||
<svelte:fragment slot="menu">
|
||||
<ActionMenu.Root noPadding>
|
||||
<ActionMenu.Root>
|
||||
<ActionMenu.Item.Anchor
|
||||
on:click={toggle}
|
||||
href={getSourceDownload(page.params.function, deployment.$id)}
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@
|
||||
</ActionMenu.Item.Button>
|
||||
</ActionMenu.Root>
|
||||
<svelte:fragment slot="menu">
|
||||
<ActionMenu.Root noPadding>
|
||||
<ActionMenu.Root>
|
||||
<ActionMenu.Item.Anchor
|
||||
on:click={toggle}
|
||||
href={getSourceDownload(deployment.$id)}
|
||||
|
||||
Reference in new issue
Block a user