Skip to content

Commit

Permalink
fixes sidebar blink
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Sep 29, 2023
1 parent cf55454 commit 108537b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions app/layout/projects/show/map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,6 @@ export const ProjectMap = (): JSX.Element => {
animate={{ y: 0, opacity: 1 }}
exit={{ y: -10, opacity: 0 }}
>
<Loading
visible={!mapInteractive}
className="absolute bottom-0 left-0 right-0 top-0 z-40 flex h-full w-full items-center justify-center bg-black bg-opacity-90"
iconClassName="w-10 h-10 text-primary-500"
/>

<HelpBeacon
id="project-map"
title="Map view"
Expand Down Expand Up @@ -591,8 +585,8 @@ export const ProjectMap = (): JSX.Element => {
)}
<Loading
visible={!mapInteractive}
className="absolute bottom-0 left-0 right-0 top-0 z-40 flex h-full w-full items-center justify-center bg-black bg-opacity-90"
iconClassName="w-10 h-10 text-primary-500"
className="absolute bottom-0 left-0 top-0 z-10 flex h-full w-full items-center justify-center bg-black/75"
iconClassName="w-10 h-10 text-primary-500 translate-x-[275px]"
/>
</motion.div>
)}
Expand Down

0 comments on commit 108537b

Please sign in to comment.