Make chat message an unordered list

This commit is contained in:
Sine Jespersen committed 2025-08-21 10:55:38 +02:00
1 parent 02479425a5
commit bb6864dd12
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -421,7 +421,7 @@
</div>
</Loader>
{/if}
<ul role="log" aria-live="polite" aria-relevant="additions" aria-atomic="false">
{#each messages as message, messageIdx (message.id)}
<Message
{chatId}
@@ -450,6 +450,7 @@
{topPadding}
/>
{/each}
</ul>
</section>
<div class="pb-12" />
{#if bottomPadding}
@@ -44,7 +44,7 @@
export let topPadding = false;
</script>
<div
<li
class="flex flex-col justify-between px-5 mb-3 w-full {($settings?.widescreenMode ?? null)
? 'max-w-full'
: 'max-w-5xl'} mx-auto rounded-lg group"
@@ -120,4 +120,4 @@
/>
{/if}
{/if}
</div>
</li>