0

Slap the custom css into a style tag. Closes #718

This commit is contained in:
Gabe Kangas 2021-04-15 22:00:46 -07:00
parent 543577c2e0
commit fb637e20ed

View File

@ -508,6 +508,7 @@ export default class App extends Component {
extraPageContent, extraPageContent,
chatDisabled, chatDisabled,
externalActions, externalActions,
customStyles,
} = configData; } = configData;
const bgUserLogo = { backgroundImage: `url(${logo})` }; const bgUserLogo = { backgroundImage: `url(${logo})` };
@ -573,6 +574,8 @@ export default class App extends Component {
id="app-container" id="app-container"
class="flex w-full flex-col justify-start relative ${extraAppClasses}" class="flex w-full flex-col justify-start relative ${extraAppClasses}"
> >
<style>${customStyles}</style>
<div id="top-content" class="z-50"> <div id="top-content" class="z-50">
<header <header
class="flex border-b border-gray-900 border-solid shadow-md fixed z-10 w-full top-0 left-0 flex flex-row justify-between flex-no-wrap" class="flex border-b border-gray-900 border-solid shadow-md fixed z-10 w-full top-0 left-0 flex flex-row justify-between flex-no-wrap"