Skip to content

Commit

Permalink
feat(viewer): 💄 Add margins on bubbles
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Apr 9, 2022
1 parent cd879ee commit 611dbad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bot-engine/src/components/ChatBlock/ChatBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const ChatChunks = ({
hostAvatarSrc={hostAvatar.src}
/>
)}
<div className="flex-1">
<div className="flex-1" style={{ marginRight: '50px' }}>
<TransitionGroup>
{bubbles.map((step) => (
<CSSTransition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ export const GuestBubble = ({

return (
<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
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"
Expand Down

4 comments on commit 611dbad

@vercel
Copy link

@vercel vercel bot commented on 611dbad Apr 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-git-main-typebot-io.vercel.app
app.typebot.io
builder-v2-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 611dbad Apr 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 611dbad Apr 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 611dbad Apr 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.