fix(components): Force inclusion of style
This commit is contained in:
parent
0817464cfc
commit
c65b929e7b
1 changed files with 2 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue