frontend-monorepo-196 Remove whitespace at bottom of page (#197)
This commit is contained in:
parent
9ee577c890
commit
f9d7b33d3b
@ -10,8 +10,8 @@ export const Nav = ({ menuOpen }: NavProps) => {
|
|||||||
<nav className="relative">
|
<nav className="relative">
|
||||||
<div
|
<div
|
||||||
className={`${
|
className={`${
|
||||||
menuOpen ? 'right-0' : 'right-[200vw]'
|
menuOpen ? 'right-0 h-[100vh]' : 'right-[200vw] h-full'
|
||||||
} transition-all absolute top-0 h-[100vh] w-full md:static md:border-r-1 bg-white dark:bg-black p-20`}
|
} transition-[right] absolute top-0 w-full md:static md:border-r-1 bg-white dark:bg-black p-20`}
|
||||||
>
|
>
|
||||||
{routerConfig.map((r) => (
|
{routerConfig.map((r) => (
|
||||||
<NavLink
|
<NavLink
|
||||||
|
Loading…
Reference in New Issue
Block a user