mirror of
https://github.com/open-webui/open-webui
synced 2025-02-17 02:27:11 +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}`);
|
const messageElement = document.getElementById(`message-${messageId}`);
|
||||||
console.log(messageElement);
|
console.log(messageElement);
|
||||||
if (messageElement) {
|
if (messageElement) {
|
||||||
messageElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
messageElement.scrollIntoView({ block: 'center' });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@ -179,7 +179,7 @@
|
|||||||
class=" snap-center w-full max-w-full m-1 border {history.messages[messageId]
|
class=" snap-center w-full max-w-full m-1 border {history.messages[messageId]
|
||||||
?.modelIdx == modelIdx
|
?.modelIdx == modelIdx
|
||||||
? `border-gray-100 dark:border-gray-800 border-[1.5px] ${
|
? `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 ${
|
: `border-gray-50 dark:border-gray-850 border-dashed ${
|
||||||
$mobile ? 'min-w-full' : 'min-w-80'
|
$mobile ? 'min-w-full' : 'min-w-80'
|
||||||
|
Loading…
Reference in New Issue
Block a user