Skip to content

Commit

Permalink
change the z-index of hamburger
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudLun committed Mar 22, 2024
1 parent 71c519a commit f2d942a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/infoPage/infoBox/InfoBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const InfoBox = () => {
</div>
</div>
</div>
<div className={`absolute top-6 left-4 lg:left-[calc(100%_-_3.5rem)] flex items-center justify-center w-10 h-10 bg-[rgba(255,255,255,.65)] z-30 shadow-2xl`} onClick={() => boxShown ? boxShownClickHandler(false) : boxShownClickHandler(true)}>
<div className={`absolute top-6 left-4 lg:left-[calc(100%_-_3.5rem)] flex items-center justify-center w-10 h-10 bg-[rgba(255,255,255,.65)] z-40 shadow-2xl`} onClick={() => boxShown ? boxShownClickHandler(false) : boxShownClickHandler(true)}>
{
boxShown ? <XMarkIcon className='w-6 h-6 text-black' /> : <Bars3Icon className='w-5 h-5 text-black' />
}
Expand Down
6 changes: 3 additions & 3 deletions components/narrative/Narrative.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const Narrative = () => {
<>
{
openNarrative && (
<div className="z-30 w-full h-[100vh] overflow-y-auto">
<img src="/logos/floodgen_logo_white.png" className="absolute left-8 top-12 w-[155px] h-[38.75px] z-30" alt="logos_white" />
<div className="absolute right-8 top-12 flex items-center justify-center w-[35px] h-[35px] bg-[#E7E7E7] bg-opacity-60 rounded-full z-30 cursor-pointer">
<div className="absolute top-0 left-0 z-50 w-full h-[100vh] overflow-y-auto">
<img src="/logos/floodgen_logo_white.png" className="absolute left-8 top-6 w-[155px] h-[38.75px] z-50" alt="logos_white" />
<div className="absolute right-4 top-6 flex items-center justify-center w-[35px] h-[35px] bg-[#E7E7E7] bg-opacity-60 rounded-full z-50 cursor-pointer">
<XMarkIcon width={24} height={24} className=" text-black font-thin " onClick={clickHandler}/>
</div>

Expand Down

0 comments on commit f2d942a

Please sign in to comment.