Fix alignment of create message/provider dropdowns

The right side of the droplist should align with the right side of the button.
This commit is contained in:
Steven Nguyen
2023-12-19 12:50:14 -08:00
parent bc35253c60
commit c130820ba2
2 changed files with 2 additions and 2 deletions
@@ -11,7 +11,7 @@
export let showCreateDropdown = false;
</script>
<DropList bind:show={showCreateDropdown} scrollable>
<DropList bind:show={showCreateDropdown} scrollable placement="bottom-end">
<slot>
<Button on:click={() => (showCreateDropdown = !showCreateDropdown)} event="create_message">
<span class="icon-plus" aria-hidden="true" />
@@ -16,7 +16,7 @@
): value is T[keyof T] => Object.values<string>(enumType).includes(value);
</script>
<DropList bind:show={showCreateDropdown} scrollable>
<DropList bind:show={showCreateDropdown} scrollable placement="bottom-end">
<slot>
<Button on:click={() => (showCreateDropdown = !showCreateDropdown)} event="create_provider">
<span class="icon-plus" aria-hidden="true" />