Skip to content

Commit

Permalink
Merge pull request #1912 from MahtabBukhari/When_we_search_a_long_tex…
Browse files Browse the repository at this point in the history
…t_in_AI_search_bar_due_to_that_text_side_bar_UI

When we search a long text in AI search bar due to that text side bar UI damage ( text should be wrapped in side bar)
  • Loading branch information
Rassl authored Jul 24, 2024
2 parents dce478e + 8829320 commit 0897aa2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/App/SideBar/AiSummary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@ const Title = styled(Text)`
font-size: 20px;
font-weight: 600;
flex-grow: 1;
overflow-wrap: break-word;
white-space: normal;
word-break: break-word;
`

const TitleWrapper = styled(Flex).attrs({
direction: 'row',
alignItems: 'center',
})`
padding: 24px 10px 24px 24px;
flex-shrink: 1;
overflow: hidden;
`

export const AiSummary = ({ question, response }: Props) => {
Expand Down

0 comments on commit 0897aa2

Please sign in to comment.