💄 Add proper italic fonts in bot
This commit is contained in:
@@ -7,7 +7,7 @@ const Document = () => (
|
|||||||
<Head>
|
<Head>
|
||||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||||
<link
|
<link
|
||||||
href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap"
|
href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
<meta name="google" content="notranslate" />
|
<meta name="google" content="notranslate" />
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export const TypebotViewer = ({
|
|||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `@import url('https://fonts.googleapis.com/css2?family=${
|
__html: `@import url('https://fonts.googleapis.com/css2?family=${
|
||||||
typebot.theme.general.font ?? 'Open Sans'
|
typebot.theme.general.font ?? 'Open Sans'
|
||||||
}:wght@300;400;600&display=swap');`,
|
}:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap');`,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user