feat(viewer): 💄 Add margins on bubbles
This commit is contained in:
@ -219,7 +219,7 @@ const ChatChunks = ({
|
|||||||
hostAvatarSrc={hostAvatar.src}
|
hostAvatarSrc={hostAvatar.src}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<div className="flex-1">
|
<div className="flex-1" style={{ marginRight: '50px' }}>
|
||||||
<TransitionGroup>
|
<TransitionGroup>
|
||||||
{bubbles.map((step) => (
|
{bubbles.map((step) => (
|
||||||
<CSSTransition
|
<CSSTransition
|
||||||
|
@ -19,7 +19,11 @@ export const GuestBubble = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<CSSTransition classNames="bubble" timeout={1000}>
|
<CSSTransition classNames="bubble" timeout={1000}>
|
||||||
<div className="flex justify-end mb-2 items-end" onClick={onClick}>
|
<div
|
||||||
|
className="flex justify-end mb-2 items-end"
|
||||||
|
onClick={onClick}
|
||||||
|
style={{ marginLeft: '50px' }}
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
className="px-4 py-2 rounded-lg mr-2 whitespace-pre-wrap max-w-full typebot-guest-bubble cursor-pointer hover:brightness-90 active:brightness-75"
|
className="px-4 py-2 rounded-lg mr-2 whitespace-pre-wrap max-w-full typebot-guest-bubble cursor-pointer hover:brightness-90 active:brightness-75"
|
||||||
data-testid="guest-bubble"
|
data-testid="guest-bubble"
|
||||||
|
Reference in New Issue
Block a user