We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 433432f commit 9f2f36fCopy full SHA for 9f2f36f
src/components/ColorBox/index.jsx
@@ -24,7 +24,8 @@ import useTranslate from '../../helpers/useTranslate';
24
25
const useStyles = makeStyles(theme => ({
26
root: {
27
- backgroundColor: theme.palette.background.paper,
+ // Ugly fix for beta 1
28
+ backgroundColor: theme.palette ? theme.palette.background.paper : 'fff',
29
position: 'relative',
30
width: 'min-content',
31
height: 'min-content',
0 commit comments