From 98f321f73c18a68d41a59570330de58ca37ff621 Mon Sep 17 00:00:00 2001 From: Shoaibdev7 Date: Thu, 22 Aug 2024 19:02:39 +0500 Subject: [PATCH] fix(ai-search): sidebar should not scroll sideways --- src/components/App/SideBar/AiView/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/App/SideBar/AiView/index.tsx b/src/components/App/SideBar/AiView/index.tsx index 33bcf9bfad..0018db713d 100644 --- a/src/components/App/SideBar/AiView/index.tsx +++ b/src/components/App/SideBar/AiView/index.tsx @@ -65,8 +65,8 @@ const Wrapper = styled(Flex)(({ theme }) => ({ }, })) -const ScrollWrapper = styled(Flex)(() => ({ - overflow: 'auto', +const ScrollWrapper = styled(Flex)({ + overflowY: 'auto', flex: 1, width: '100%', -})) +})