From aca1a68929eb4c2012d339512ef61a5e4d70c06f Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Wed, 28 Aug 2024 08:53:20 +0800 Subject: [PATCH] fix: only show scrollbar when expanded Signed-off-by: SuZhou-Joe --- .../__snapshots__/collapsible_nav_group_enabled.test.tsx.snap | 2 +- .../public/chrome/ui/header/collapsible_nav_group_enabled.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/public/chrome/ui/header/__snapshots__/collapsible_nav_group_enabled.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/collapsible_nav_group_enabled.test.tsx.snap index 7f896674faac..e89415b3dace 100644 --- a/src/core/public/chrome/ui/header/__snapshots__/collapsible_nav_group_enabled.test.tsx.snap +++ b/src/core/public/chrome/ui/header/__snapshots__/collapsible_nav_group_enabled.test.tsx.snap @@ -260,7 +260,7 @@ exports[` should render correctly 2`] = ` class="euiHorizontalRule euiHorizontalRule--full" />
diff --git a/src/core/public/chrome/ui/header/collapsible_nav_group_enabled.tsx b/src/core/public/chrome/ui/header/collapsible_nav_group_enabled.tsx index d196e760e43b..4e6f71b05a1f 100644 --- a/src/core/public/chrome/ui/header/collapsible_nav_group_enabled.tsx +++ b/src/core/public/chrome/ui/header/collapsible_nav_group_enabled.tsx @@ -435,7 +435,7 @@ export function CollapsibleNavGroupEnabled({