mirror of
https://github.com/open-webui/open-webui
synced 2025-01-29 13:58:09 +00:00
refac
This commit is contained in:
parent
fc8524bbfd
commit
7f394f3f00
@ -124,8 +124,10 @@
|
|||||||
{@const message = groupedMessages[modelIdx].messages[groupedMessagesIdx[modelIdx]]}
|
{@const message = groupedMessages[modelIdx].messages[groupedMessagesIdx[modelIdx]]}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class=" snap-center {$mobile ? '' : 'min-w-80'} w-full max-w-full m-1 border {history
|
class=" snap-center {$mobile
|
||||||
.messages[currentMessageId]?.modelIdx == modelIdx
|
? 'min-w-full'
|
||||||
|
: 'min-w-80'} w-full max-w-full m-1 border {history.messages[currentMessageId]
|
||||||
|
?.modelIdx == modelIdx
|
||||||
? 'border-gray-100 dark:border-gray-800 border-[1.5px]'
|
? 'border-gray-100 dark:border-gray-800 border-[1.5px]'
|
||||||
: 'border-gray-50 dark:border-gray-850 border-dashed '} transition p-5 rounded-2xl"
|
: 'border-gray-50 dark:border-gray-850 border-dashed '} transition p-5 rounded-2xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user