Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
frontend
Commits
28a7d72b
Commit
28a7d72b
authored
1 year ago
by
mateusz-winiarczyk
Browse files
Options
Downloads
Patches
Plain Diff
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
!166
fix(scroll): fix scrolling on smaller screens (MIN-311)
Pipeline
#88389
passed
1 year ago
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/FunctionalArea/FunctionalArea.component.tsx
+1
-1
1 addition, 1 deletion
src/components/FunctionalArea/FunctionalArea.component.tsx
src/components/FunctionalArea/NavBar/NavBar.component.tsx
+1
-1
1 addition, 1 deletion
src/components/FunctionalArea/NavBar/NavBar.component.tsx
with
2 additions
and
2 deletions
src/components/FunctionalArea/FunctionalArea.component.tsx
+
1
−
1
View file @
28a7d72b
...
@@ -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
>
</>
</>
...
...
This diff is collapsed.
Click to expand it.
src/components/FunctionalArea/NavBar/NavBar.component.tsx
+
1
−
1
View file @
28a7d72b
...
@@ -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"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment