mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 16:22:44 +00:00
refac: multi response styling
This commit is contained in:
parent
8d38af8ddd
commit
24e7ae8767
@ -157,7 +157,7 @@
|
||||
const messageElement = document.getElementById(`message-${messageId}`);
|
||||
console.log(messageElement);
|
||||
if (messageElement) {
|
||||
messageElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
messageElement.scrollIntoView({ block: 'center' });
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@ -179,7 +179,7 @@
|
||||
class=" snap-center w-full max-w-full m-1 border {history.messages[messageId]
|
||||
?.modelIdx == modelIdx
|
||||
? `border-gray-100 dark:border-gray-800 border-[1.5px] ${
|
||||
$mobile ? 'min-w-full' : 'min-w-[32rem]'
|
||||
$mobile ? 'min-w-full' : 'min-w-80'
|
||||
}`
|
||||
: `border-gray-50 dark:border-gray-850 border-dashed ${
|
||||
$mobile ? 'min-w-full' : 'min-w-80'
|
||||
|
Loading…
Reference in New Issue
Block a user