mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
fix navbar zindex, close #8
This commit is contained in:
@@ -149,6 +149,7 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) =
|
|||||||
|
|
||||||
{imagesInFolder.length !== 0 && (
|
{imagesInFolder.length !== 0 && (
|
||||||
<ReactViewer
|
<ReactViewer
|
||||||
|
zIndex={99}
|
||||||
visible={imageViewerVisible}
|
visible={imageViewerVisible}
|
||||||
activeIndex={activeImageIdx}
|
activeIndex={activeImageIdx}
|
||||||
images={imagesInFolder}
|
images={imagesInFolder}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import siteConfig from '../config/site.json'
|
|||||||
|
|
||||||
const Navbar = () => {
|
const Navbar = () => {
|
||||||
return (
|
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">
|
<div className="max-w-4xl w-full mx-auto flex items-center justify-between">
|
||||||
<h1 className="font-bold text-xl">{siteConfig.title}</h1>
|
<h1 className="font-bold text-xl">{siteConfig.title}</h1>
|
||||||
<a href="https://github.com/spencerwooo/onedrive-vercel-index" target="_blank" rel="noopener noreferrer">
|
<a href="https://github.com/spencerwooo/onedrive-vercel-index" target="_blank" rel="noopener noreferrer">
|
||||||
|
|||||||
Reference in New Issue
Block a user