2
0

fix(engine): 🚑️ Viewer host

This commit is contained in:
Baptiste Arnaud
2022-03-23 18:24:56 +01:00
parent 39b01431e0
commit e502413ecf
3 changed files with 4 additions and 3 deletions

View File

@@ -52,9 +52,9 @@ export const TemplatesContent = () => {
ownerId: user.id, ownerId: user.id,
folderId, folderId,
theme: { theme: {
...defaultTheme, ...typebot.theme,
chat: { chat: {
...defaultTheme.chat, ...typebot.theme.chat,
hostAvatar: { isEnabled: true, url: user.image ?? undefined }, hostAvatar: { isEnabled: true, url: user.image ?? undefined },
}, },
}, },

View File

@@ -1,6 +1,7 @@
.PhoneInputInput { .PhoneInputInput {
padding: 1rem 0.5rem; padding: 1rem 0.5rem;
outline: none !important; outline: none !important;
background: transparent;
} }
.PhoneInputCountry { .PhoneInputCountry {

View File

@@ -36,7 +36,7 @@ export type TypebotViewerProps = {
export const TypebotViewer = ({ export const TypebotViewer = ({
typebot, typebot,
apiHost = process.env.NEXT_PUBLIC_VIEWER_URL, apiHost = process.env.NEXT_PUBLIC_VIEWER_URL?.split(',')[0],
isPreview = false, isPreview = false,
style, style,
predefinedVariables, predefinedVariables,