diff --git a/src/components/App/SideBar/AiSummary/AiAnswer/index.tsx b/src/components/App/SideBar/AiSummary/AiAnswer/index.tsx index 5174c4fda..bebefd227 100644 --- a/src/components/App/SideBar/AiSummary/AiAnswer/index.tsx +++ b/src/components/App/SideBar/AiSummary/AiAnswer/index.tsx @@ -22,7 +22,6 @@ const Wrapper = styled(Flex).attrs({ overflow-wrap: break-word; white-space: normal; word-break: break-word; - overflow: hidden; ` const SummaryText = styled(Text)` diff --git a/src/components/App/SideBar/AiView/index.tsx b/src/components/App/SideBar/AiView/index.tsx index 33bcf9bfa..f94a4bf56 100644 --- a/src/components/App/SideBar/AiView/index.tsx +++ b/src/components/App/SideBar/AiView/index.tsx @@ -65,8 +65,9 @@ const Wrapper = styled(Flex)(({ theme }) => ({ }, })) -const ScrollWrapper = styled(Flex)(() => ({ - overflow: 'auto', - flex: 1, - width: '100%', -})) +const ScrollWrapper = styled(Flex)` + overflow-y: auto; + overflow-x: hidden; + flex: 1; + width: 100%; +`