Skip to content

Commit bb01d29

Browse files
committed
fix: added z-index to scroll progress bar and webpage
1 parent d99c7a0 commit bb01d29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function Portfolio() {
7474
<Navbar />
7575
<div className="mx-auto max-w-full px-4 sm:px-6 md:px-8 lg:max-w-5xl xl:max-w-6xl 2xl:max-w-7xl">
7676
<Header />
77-
<main className="container mx-auto px-4 py-8">
77+
<main className="container mx-auto px-4 py-8 z-1">
7878
<About />
7979
<Experiences arr={experiencesArray}/>
8080
<Projects arr={projectsArray}/>

src/components/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const Navbar = () => {
44
const completion = useReadingProgress();
55

66
return (
7-
<nav className="py-0.5 sticky top-0">
7+
<nav className="z-50 py-0.5 sticky top-0">
88
{/* <div className="flex items-center justify-between container mx-auto text-xl"></div> */}
99
<div className="h-0.5 overflow-hidden">
1010
<span

0 commit comments

Comments
 (0)