+const PageFrame = ({ children, classes }: Props) => (
+
+
,
+ error:
,
+ warning:
,
+ }}
+ ><>
{children}
-
-
-
+ >
+
+
)
-export default PageFrame
+export default withStyles(classes)(PageFrame)
diff --git a/src/components/layout/PageFrame/index.scss b/src/components/layout/PageFrame/index.scss
index 54ceec03..9727c40e 100644
--- a/src/components/layout/PageFrame/index.scss
+++ b/src/components/layout/PageFrame/index.scss
@@ -4,19 +4,3 @@
flex: 1 1 auto;
max-width: 100%;
}
-
-.success {
- background: 'purple';
-}
-
-.error {
- background: 'blue';
-}
-
-.warning {
- background: 'green';
-}
-
-.info {
- background: 'yellow';
-}
diff --git a/src/theme/mui.js b/src/theme/mui.js
index 0b6cb1f3..aa7dbebe 100644
--- a/src/theme/mui.js
+++ b/src/theme/mui.js
@@ -204,6 +204,18 @@ export default createMuiTheme({
color: secondaryText,
},
},
+ /* MuiSnackbar: {
+ anchorOriginTopRight: {
+ marginTop: '50px',
+ },
+ }, */
+ MuiSnackbarContent: {
+ message: {
+ '& img': {
+ marginRight: '5px',
+ },
+ },
+ },
MuiTab: {
root: {
fontFamily: 'Averta, monospace',