💄 Better parsing of lists and code in streaming bubbles

This commit is contained in:
Baptiste Arnaud
2023-10-06 19:41:31 +02:00
parent 4746e38cb2
commit 877a58dac2
6 changed files with 21 additions and 8 deletions

View File

@@ -117,6 +117,7 @@ export const ChatChunk = (props: Props) => {
<div
class="flex flex-col flex-1 gap-2"
style={{
width: isMobile() ? 'calc(100% - 32px)' : 'calc(100% - 48px)',
'margin-right': props.theme.chat.guestAvatar?.isEnabled
? isMobile()
? '32px'

View File

@@ -28,7 +28,7 @@ export const StreamingBubble = (props: Props) => {
return (
<div class="flex flex-col animate-fade-in">
<div class="flex w-full items-center">
<div class="flex relative items-start typebot-host-bubble">
<div class="flex relative items-start typebot-host-bubble w-full">
<div
class="flex items-center absolute px-4 py-2 bubble-typing "
style={{