aboutsummaryrefslogtreecommitdiff
path: root/src/containers/Page/Page.tsx
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-08-12 03:41:48 +0300
committerGitHub <noreply@github.com>2020-08-12 03:41:48 +0300
commit2dc5fc00347256982136deea98d483c444002595 (patch)
treebb3826d74842bc628d1c6aa9c43aae919faffcea /src/containers/Page/Page.tsx
parent94067ef2a0d9ac5c2aa5f45eca5366a2251ac04a (diff)
parent68c7660e13fc5613ef26de752bc360a792b3f935 (diff)
downloadwhich-ui-2dc5fc00347256982136deea98d483c444002595.tar.gz
Merge pull request #77 from which-ecosystem/redesign
Mobile search and basic drawer
Diffstat (limited to 'src/containers/Page/Page.tsx')
-rw-r--r--src/containers/Page/Page.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/containers/Page/Page.tsx b/src/containers/Page/Page.tsx
index f6a0aa5..d1171e6 100644
--- a/src/containers/Page/Page.tsx
+++ b/src/containers/Page/Page.tsx
@@ -16,7 +16,7 @@ const Notifications = React.lazy(() => import('../Notifications/Notifications'))
const useStyles = makeStyles(theme => ({
root: {
[theme.breakpoints.down('sm')]: {
- margin: theme.spacing(15, 0, 12, 0)
+ margin: theme.spacing(12, 0, 12, 0)
},
[theme.breakpoints.up('md')]: {
margin: theme.spacing(15, 5, 8, 5)
@@ -32,6 +32,7 @@ const Page: React.FC = () => {
return (
<SnackbarProvider
+ preventDuplicate
maxSnack={isMobile ? 1 : 3}
anchorOrigin={{
vertical: isMobile ? 'top' : 'bottom',