File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,11 @@ export const Nav = () => {
3232 const isActive = ( href : string ) => pathname . startsWith ( href ) ;
3333
3434 return (
35- < header className = "sticky top-0 z-50 border-b bg-[#18181B] text-white" >
35+ < header
36+ className = { `border-b bg-[#18181B] text-white ${
37+ isProjectRoute ? "" : "sticky top-0 z-50"
38+ } `}
39+ >
3640 < div className = "container-wrapper flex h-20 items-center justify-between" >
3741 < Link className = "flex w-fit items-center gap-2" href = "/dashboard" >
3842 < div className = "flex items-center space-x-3" >
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export const ProjectHeader = ({
4646 }
4747
4848 return (
49- < div className = "flex flex-col gap-4 border-b pb-4" >
49+ < div className = "sticky top-0 z-40 -mx-6 -mt-8 flex flex-col gap-4 border-b bg-[#F4F4F5] px-6 pt-8 pb-4" >
5050 < div className = "flex items-center justify-between" >
5151 < h1 className = "flex items-center gap-2 text-xl" >
5252 < Link href = { `/projects/${ projectId } ` } >
You can’t perform that action at this time.
0 commit comments