@ -72,7 +72,7 @@ export const ChatChunk = (props: Props) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="flex flex-col w-full min-w-0 gap-2">
|
<div class="flex flex-col w-full min-w-0 gap-2 typebot-chat-chunk">
|
||||||
<Show when={props.messages.length > 0}>
|
<Show when={props.messages.length > 0}>
|
||||||
<div class={'flex' + (isMobile() ? ' gap-1' : ' gap-2')}>
|
<div class={'flex' + (isMobile() ? ' gap-1' : ' gap-2')}>
|
||||||
<Show
|
<Show
|
||||||
|
@ -354,11 +354,9 @@ export const ConversationContainer = (props: Props) => {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const BottomSpacer = () => {
|
const BottomSpacer = () => (
|
||||||
return (
|
<div
|
||||||
<div
|
class="w-full flex-shrink-0 typebot-bottom-spacer"
|
||||||
class="w-full flex-shrink-0"
|
style={{ height: bottomSpacerHeight + 'px' }}
|
||||||
style={{ height: bottomSpacerHeight + 'px' }}
|
/>
|
||||||
/>
|
)
|
||||||
)
|
|
||||||
}
|
|
||||||
|
@ -9,7 +9,7 @@ type Props = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const LoadingChunk = (props: Props) => (
|
export const LoadingChunk = (props: Props) => (
|
||||||
<div class="flex w-full">
|
<div class="flex w-full typebot-loading-chunk">
|
||||||
<div class="flex flex-col w-full min-w-0">
|
<div class="flex flex-col w-full min-w-0">
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
<Show
|
<Show
|
||||||
|
@ -90,7 +90,7 @@ export const InputChatBlock = (props: Props) => {
|
|||||||
</Match>
|
</Match>
|
||||||
<Match when={isNotDefined(answer()) || props.hasError}>
|
<Match when={isNotDefined(answer()) || props.hasError}>
|
||||||
<div
|
<div
|
||||||
class="flex justify-end animate-fade-in gap-2"
|
class="flex justify-end animate-fade-in gap-2 typebot-input-container"
|
||||||
data-blockid={props.block.id}
|
data-blockid={props.block.id}
|
||||||
ref={props.ref}
|
ref={props.ref}
|
||||||
>
|
>
|
||||||
|
@ -45,7 +45,7 @@ export const StreamingBubble = (props: Props) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="flex flex-col animate-fade-in">
|
<div class="flex flex-col animate-fade-in typebot-streaming-container">
|
||||||
<div class="flex w-full items-center">
|
<div class="flex w-full items-center">
|
||||||
<div class="flex relative items-start typebot-host-bubble max-w-full">
|
<div class="flex relative items-start typebot-host-bubble max-w-full">
|
||||||
<div
|
<div
|
||||||
|
Reference in New Issue
Block a user