Skip to content

Commit

Permalink
Fix Mobile Nav Drawer blocks breadcrumb (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
FSM1 authored Nov 23, 2021
1 parent 4e867ca commit ea0e03f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/files-ui/src/Components/Layouts/AppNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ const useStyles = makeStyles(
top: `${constants.mobileHeaderHeight}px`,
backgroundColor: constants.nav.mobileBackgroundColor,
zIndex: zIndex?.layer1,
padding: `0 ${constants.generalUnit * 4}px`,
maxWidth: "100vw",
visibility: "hidden",
"&.active": {
visibility: "visible",
width: `${constants.mobileNavWidth}px`
width: `${constants.mobileNavWidth}px`,
padding: `0 ${constants.generalUnit * 4}px`
}
}
},
Expand Down Expand Up @@ -178,7 +178,7 @@ const useStyles = makeStyles(
}
},
"& svg": {
"& path" : {
"& path": {
fill: constants.nav.headingColor
},
transitionDuration: `${animation.transform}ms`,
Expand Down Expand Up @@ -264,10 +264,10 @@ const AppNav = ({ navOpen, setNavOpen }: IAppNav) => {
})}
>
{isLoggedIn &&
secured &&
!!publicKey &&
!isNewDevice &&
!shouldInitializeAccount && (
secured &&
!!publicKey &&
!isNewDevice &&
!shouldInitializeAccount && (
<>
{desktop && (
<div>
Expand All @@ -277,14 +277,14 @@ const AppNav = ({ navOpen, setNavOpen }: IAppNav) => {
>
<ChainsafeFilesLogo />
<Typography variant="h5">
Files
Files
</Typography>
&nbsp;
&nbsp;
<Typography
variant="caption"
className={classes.betaCaption}
>
beta
beta
</Typography>
</Link>
</div>
Expand Down

0 comments on commit ea0e03f

Please sign in to comment.