Skip to content
Snippets Groups Projects
Commit 28a7d72b authored by mateusz-winiarczyk's avatar mateusz-winiarczyk
Browse files

fix(scroll): fix navbar background when navbar is scrolled and drawer is open

parent 383c9624
No related branches found
No related tags found
1 merge request!166fix(scroll): fix scrolling on smaller screens (MIN-311)
Pipeline #88389 passed
...@@ -10,7 +10,7 @@ export const FunctionalArea = (): JSX.Element => ( ...@@ -10,7 +10,7 @@ export const FunctionalArea = (): JSX.Element => (
<div className="absolute left-[88px] top-16 z-10 w-[calc(100%-88px)]"> <div className="absolute left-[88px] top-16 z-10 w-[calc(100%-88px)]">
<MapNavigation /> <MapNavigation />
</div> </div>
<div className="absolute left-0 top-16 z-10 flex h-[calc(100%-64px)] overflow-y-auto"> <div className="absolute left-0 top-16 z-10 flex h-[calc(100%-64px)]">
<NavBar /> <NavBar />
</div> </div>
</> </>
......
...@@ -34,7 +34,7 @@ export const NavBar = (): JSX.Element => { ...@@ -34,7 +34,7 @@ export const NavBar = (): JSX.Element => {
}; };
return ( return (
<div className="flex min-h-full w-[88px] flex-col items-center justify-between bg-cultured py-8"> <div className="flex min-h-full w-[88px] flex-col items-center justify-between overflow-y-auto bg-cultured py-8">
<div data-testid="nav-buttons"> <div data-testid="nav-buttons">
<div className="mb-8 flex flex-col gap-[10px]"> <div className="mb-8 flex flex-col gap-[10px]">
<IconButton icon="info" onClick={openDrawerInfo} title="Project info" /> <IconButton icon="info" onClick={openDrawerInfo} title="Project info" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment