Skip to content

Commit

Permalink
fix(ai-search): sidebar should not scroll sideways
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoaibdev7 committed Aug 28, 2024
1 parent addbebc commit a3e247c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/components/App/SideBar/AiSummary/AiAnswer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down
11 changes: 6 additions & 5 deletions src/components/App/SideBar/AiView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
`

0 comments on commit a3e247c

Please sign in to comment.