mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Make chat message an unordered list
This commit is contained in:
parent
02479425a5
commit
bb6864dd12
2 changed files with 32 additions and 31 deletions
|
|
@ -421,7 +421,7 @@
|
||||||
</div>
|
</div>
|
||||||
</Loader>
|
</Loader>
|
||||||
{/if}
|
{/if}
|
||||||
|
<ul role="log" aria-live="polite" aria-relevant="additions" aria-atomic="false">
|
||||||
{#each messages as message, messageIdx (message.id)}
|
{#each messages as message, messageIdx (message.id)}
|
||||||
<Message
|
<Message
|
||||||
{chatId}
|
{chatId}
|
||||||
|
|
@ -450,6 +450,7 @@
|
||||||
{topPadding}
|
{topPadding}
|
||||||
/>
|
/>
|
||||||
{/each}
|
{/each}
|
||||||
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<div class="pb-12" />
|
<div class="pb-12" />
|
||||||
{#if bottomPadding}
|
{#if bottomPadding}
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
export let topPadding = false;
|
export let topPadding = false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div
|
<li
|
||||||
class="flex flex-col justify-between px-5 mb-3 w-full {($settings?.widescreenMode ?? null)
|
class="flex flex-col justify-between px-5 mb-3 w-full {($settings?.widescreenMode ?? null)
|
||||||
? 'max-w-full'
|
? 'max-w-full'
|
||||||
: 'max-w-5xl'} mx-auto rounded-lg group"
|
: 'max-w-5xl'} mx-auto rounded-lg group"
|
||||||
|
|
@ -120,4 +120,4 @@
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue