fix navbar zindex, close #8

This commit is contained in:
spencerwooo
2021-06-30 12:34:08 +01:00
parent 091c61938d
commit 6fc114f16c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -149,6 +149,7 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) =
{imagesInFolder.length !== 0 && (
<ReactViewer
zIndex={99}
visible={imageViewerVisible}
activeIndex={activeImageIdx}
images={imagesInFolder}
+1 -1
View File
@@ -4,7 +4,7 @@ import siteConfig from '../config/site.json'
const Navbar = () => {
return (
<div className="text-left bg-white p-3 sticky top-0 bg-opacity-80 backdrop-blur-md shadow-sm">
<div className="text-left bg-white p-3 sticky top-0 bg-opacity-80 backdrop-blur-md shadow-sm z-[100]">
<div className="max-w-4xl w-full mx-auto flex items-center justify-between">
<h1 className="font-bold text-xl">{siteConfig.title}</h1>
<a href="https://github.com/spencerwooo/onedrive-vercel-index" target="_blank" rel="noopener noreferrer">