Mobile OC bug fixes

Navbar z-index was removed because we want the
OC menu to be above the Navbar while also having
the Navbar menu above the OC burger.
pull/79/head
William Tran 2 years ago
parent 13e8d2d300
commit e1892c00b1
  1. 1
      components/Navbar.module.css
  2. 19
      components/OrganizedContent.tsx

@ -2,7 +2,6 @@
display: flex;
justify-content: center;
align-items: center;
z-index: 10;
background-color: var(--primary-background);
}

@ -173,15 +173,16 @@ function Nav({
}
return (
<Link
className={classNames.join(" ")}
id={section.id}
key={section.id}
setMobileNavOpen={setMobileNavOpen}
>
<span className={styles.marker} />
<div>{section.title}</div>
</Link>
<div onClick={() => {setMobileNavOpen(false)}}>
<Link
className={classNames.join(" ")}
id={section.id}
key={section.id}
>
<span className={styles.marker} />
<div>{section.title}</div>
</Link>
</div>
);
})}
</nav>

Loading…
Cancel
Save