frontend-monorepo-196 Remove whitespace at bottom of page (#197)

This commit is contained in:
Sam Keen 2022-04-04 10:17:29 +01:00 committed by GitHub
parent 9ee577c890
commit f9d7b33d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,8 @@ export const Nav = ({ menuOpen }: NavProps) => {
<nav className="relative">
<div
className={`${
menuOpen ? 'right-0' : 'right-[200vw]'
} transition-all absolute top-0 h-[100vh] w-full md:static md:border-r-1 bg-white dark:bg-black p-20`}
menuOpen ? 'right-0 h-[100vh]' : 'right-[200vw] h-full'
} transition-[right] absolute top-0 w-full md:static md:border-r-1 bg-white dark:bg-black p-20`}
>
{routerConfig.map((r) => (
<NavLink