From 56818c16fd0245c1ac204c2afbc35854953db128 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 1 Jun 2022 11:13:12 -0400 Subject: [PATCH] SearchV2: Fix scroll issue in folder folder view page (#50010) (#50017) (cherry picked from commit 07bfa137708176bcbd71ac7215be8e3061f5598a) Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com> --- public/app/features/search/page/components/FolderSection.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/app/features/search/page/components/FolderSection.tsx b/public/app/features/search/page/components/FolderSection.tsx index 167cc37afbc..f3adfc0b4d6 100644 --- a/public/app/features/search/page/components/FolderSection.tsx +++ b/public/app/features/search/page/components/FolderSection.tsx @@ -151,7 +151,7 @@ export const FolderSection: FC = ({ // Skip the folder wrapper if (renderStandaloneBody) { - return
{renderResults()}
; + return
{renderResults()}
; } return ( @@ -227,6 +227,9 @@ const getSectionHeaderStyles = stylesFactory((theme: GrafanaTheme, selected = fa icon: css` padding: 0 ${sm} 0 ${editable ? 0 : sm}; `, + folderViewResults: css` + overflow: auto; + `, text: css` flex-grow: 1; line-height: 24px;