Skip to content

Commit 8fe856a

Browse files
committed
🚑 Fix no scroll issue on mobile
1 parent ae2350e commit 8fe856a

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

packages/embeds/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typebot.io/js",
3-
"version": "0.2.65",
3+
"version": "0.2.66",
44
"description": "Javascript library to display typebots on your website",
55
"type": "module",
66
"main": "dist/index.js",

packages/embeds/js/src/components/Bot.tsx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -311,17 +311,15 @@ const BotContent = (props: BotContentProps) => {
311311
</Portal>
312312
</Show>
313313
</Show>
314-
<div class="flex w-full h-full justify-center items-center">
315-
<ConversationContainer
316-
context={props.context}
317-
initialChatReply={props.initialChatReply}
318-
onNewInputBlock={props.onNewInputBlock}
319-
onAnswer={props.onAnswer}
320-
onEnd={props.onEnd}
321-
onNewLogs={props.onNewLogs}
322-
onProgressUpdate={setProgressValue}
323-
/>
324-
</div>
314+
<ConversationContainer
315+
context={props.context}
316+
initialChatReply={props.initialChatReply}
317+
onNewInputBlock={props.onNewInputBlock}
318+
onAnswer={props.onAnswer}
319+
onEnd={props.onEnd}
320+
onNewLogs={props.onNewLogs}
321+
onProgressUpdate={setProgressValue}
322+
/>
325323
<Show
326324
when={
327325
props.initialChatReply.typebot.settings.general?.isBrandingEnabled

packages/embeds/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typebot.io/nextjs",
3-
"version": "0.2.65",
3+
"version": "0.2.66",
44
"description": "Convenient library to display typebots on your Next.js website",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

packages/embeds/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typebot.io/react",
3-
"version": "0.2.65",
3+
"version": "0.2.66",
44
"description": "Convenient library to display typebots on your React app",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)