2
0

🦴 Add viewer backbone

This commit is contained in:
Baptiste Arnaud
2021-12-23 16:31:56 +01:00
parent 9a78a341d2
commit d369b4d941
24 changed files with 576 additions and 182 deletions

View File

@ -30,7 +30,7 @@ export const TypebotViewer = ({
<Frame
id="typebot-iframe"
head={<style>{style}</style>}
style={{ width: '100%' }}
style={{ width: '100%', height: '100%', border: 'none' }}
>
<style
dangerouslySetInnerHTML={{
@ -42,7 +42,7 @@ export const TypebotViewer = ({
<div
className="flex text-base overflow-hidden bg-cover h-screen w-screen flex-col items-center typebot-container"
style={{
// We set this as inline style to avoid color flashing (due to SSR)
// We set this as inline style to avoid color for SSR
backgroundColor: containerBgColor,
}}
>