mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
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:
@@ -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" />
|
||||
|
||||
+1
-1
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user