From 583f96d003e5191d7dd338c9844ca56f66d9b18a Mon Sep 17 00:00:00 2001
From: Anup Cowkur
Date: Wed, 16 Oct 2024 16:37:47 +0530
Subject: [PATCH] fix(frontend): fix nav aside scroll on detail content
exceeding screen area
fixes #1360
---
.../components/__snapshots__/filter_pill_test.tsx.snap | 4 ++--
frontend/dashboard/app/[teamId]/layout.tsx | 2 +-
frontend/dashboard/app/components/filter_pill.tsx | 2 +-
frontend/dashboard/app/components/filters.tsx | 1 -
4 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/frontend/dashboard/__tests__/components/__snapshots__/filter_pill_test.tsx.snap b/frontend/dashboard/__tests__/components/__snapshots__/filter_pill_test.tsx.snap
index 25e38fb8e..e6e568fc9 100644
--- a/frontend/dashboard/__tests__/components/__snapshots__/filter_pill_test.tsx.snap
+++ b/frontend/dashboard/__tests__/components/__snapshots__/filter_pill_test.tsx.snap
@@ -14,7 +14,7 @@ exports[`FilterPill renders correctly 1`] = `
TITLE
TITLE
@@ -31,7 +31,7 @@ exports[`FilterPill renders correctly 1`] = `
TITLE
TITLE
diff --git a/frontend/dashboard/app/[teamId]/layout.tsx b/frontend/dashboard/app/[teamId]/layout.tsx
index 0b26f703f..24019f5c5 100644
--- a/frontend/dashboard/app/[teamId]/layout.tsx
+++ b/frontend/dashboard/app/[teamId]/layout.tsx
@@ -119,7 +119,7 @@ export default function DashboardLayout({
- {teamsApiStatus === TeamsApiStatus.Success && {children}}
+ {teamsApiStatus === TeamsApiStatus.Success && {children}}
);
diff --git a/frontend/dashboard/app/components/filter_pill.tsx b/frontend/dashboard/app/components/filter_pill.tsx
index 37b212563..51ccafa9f 100644
--- a/frontend/dashboard/app/components/filter_pill.tsx
+++ b/frontend/dashboard/app/components/filter_pill.tsx
@@ -10,7 +10,7 @@ const FilterPill: React.FC = ({ title }) => {
{title}
-
+
{title}
diff --git a/frontend/dashboard/app/components/filters.tsx b/frontend/dashboard/app/components/filters.tsx
index e58eb3fdd..8abf6c448 100644
--- a/frontend/dashboard/app/components/filters.tsx
+++ b/frontend/dashboard/app/components/filters.tsx
@@ -9,7 +9,6 @@ import DropdownSelect, { DropdownSelectType } from "./dropdown_select";
import FilterPill from "./filter_pill";
import CreateApp from "./create_app";
import DebounceTextInput from "./debounce_text_input";
-import LoadingSpinner from "./loading_spinner";
export enum AppVersionsInitialSelectionType {
Latest,