Merge pull request #16777 from itk-dev/feature/make-chat-messages-an-unordered-list

FEAT: Make chat message an unordered list
This commit is contained in:
Tim Jaeryang Baek 2025-08-21 13:29:27 +04:00 committed by GitHub
commit f81f3b3a02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 32 additions and 31 deletions

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}

View file

@ -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>