🚑 Fix bubble window size on mobile devices
Closes
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@typebot.io/js",
|
"name": "@typebot.io/js",
|
||||||
"version": "0.0.61",
|
"version": "0.0.62",
|
||||||
"description": "Javascript library to display typebots on your website",
|
"description": "Javascript library to display typebots on your website",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -161,7 +161,7 @@ export const Bubble = (props: BubbleProps) => {
|
|||||||
(props.theme?.button?.size === 'large'
|
(props.theme?.button?.size === 'large'
|
||||||
? ' bottom-24'
|
? ' bottom-24'
|
||||||
: ' bottom-20') +
|
: ' bottom-20') +
|
||||||
(props.theme?.placement === 'left' ? ' left-5' : ' right-5')
|
(props.theme?.placement === 'left' ? ' sm:left-5' : ' sm:right-5')
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Show when={isBotStarted()}>
|
<Show when={isBotStarted()}>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@typebot.io/react",
|
"name": "@typebot.io/react",
|
||||||
"version": "0.0.61",
|
"version": "0.0.62",
|
||||||
"description": "React library to display typebots on your website",
|
"description": "React library to display typebots on your website",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
Reference in New Issue
Block a user