Skip to content

Commit

Permalink
Fix Safari Nav Items invisible (#1709)
Browse files Browse the repository at this point in the history
* revert app nav changes

* update overflow settings

* fix lint

* removed minWidth

* fix lint
  • Loading branch information
FSM1 authored Nov 4, 2021
1 parent 8e855d2 commit ae12e6f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/files-ui/src/Components/Layouts/AppNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const useStyles = makeStyles(
return createStyles({
root: {
width: 0,
overflow: "auto",
overflowX: "hidden",
overflowY: "auto",
transitionDuration: `${animation.translate}ms`,
display: "flex",
flexDirection: "column",
Expand Down Expand Up @@ -168,9 +169,6 @@ const useStyles = makeStyles(
"& svg": {
fill: constants.nav.itemIconColorHover
}
},
[breakpoints.down("md")]: {
minWidth: Number(constants.mobileNavWidth)
}
},
navItemText: {
Expand Down Expand Up @@ -384,4 +382,4 @@ const AppNav = ({ navOpen, setNavOpen }: IAppNav) => {
)
}

export default AppNav
export default AppNav

0 comments on commit ae12e6f

Please sign in to comment.