1
0
Fork 0

fix(components): Force inclusion of style

This commit is contained in:
Joost De Cock 2021-05-23 12:11:59 +02:00
parent 0817464cfc
commit c65b929e7b

View file

@ -25,7 +25,7 @@ import Xport from './Export'
import axios from 'axios' import axios from 'axios'
import yaml from 'yaml' import yaml from 'yaml'
import Footer from './Footer' import Footer from './Footer'
import './style.scss' import sass from './style.scss'
const icons = { const icons = {
draft: <DraftIcon />, draft: <DraftIcon />,
@ -335,6 +335,7 @@ const Workbench = ({
return ( return (
<MuiThemeProvider theme={createMuiTheme(themes[theme])}> <MuiThemeProvider theme={createMuiTheme(themes[theme])}>
<style>{sass}</style>
<div <div
className={ className={
theme === 'light' ? 'workbench theme-wrapper light' : 'workbench theme-wrapper dark' theme === 'light' ? 'workbench theme-wrapper light' : 'workbench theme-wrapper dark'