Skip to content

Commit 958fbdd

Browse files
committed
refac
1 parent 5c403fb commit 958fbdd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/lib/components/chat/ChatControls/Embeds.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
</script>
4141

4242
{#if $embed}
43-
<div class="h-full w-full">
43+
<div class="h-full w-full flex flex-col">
4444
<div
45-
class="pointer-events-auto z-20 flex justify-between items-center py-3 px-2 font-primar text-gray-900 dark:text-white"
45+
class="pointer-events-auto z-20 flex justify-between items-center py-3 px-2 font-primar text-gray-900 dark:text-white flex-shrink-0"
4646
>
4747
<div class="flex-1 flex items-center justify-between pl-2">
4848
<a
@@ -68,7 +68,7 @@
6868
</button>
6969
</div>
7070

71-
<div class=" w-full h-full relative">
71+
<div class="w-full flex-1 min-h-0 relative">
7272
{#if overlay}
7373
<div class=" absolute top-0 left-0 right-0 bottom-0 z-10"></div>
7474
{/if}

0 commit comments

Comments
 (0)