Skip to content

Commit

Permalink
fix up behaviour of summarize interactions
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed Jun 11, 2024
1 parent 81889bd commit 13fb960
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common-ui/components/prompt-templates/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ const Header = styled.div`
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 15px 15px 0px 15px;
padding: 10px 15px 0px 15px;
height: 30px;
align-items: center;
`
Expand Down Expand Up @@ -494,7 +494,7 @@ const Title = styled.div`
`

const ContentBlock = styled.div`
padding: 5px;
padding: 0 5px 5px 5px;
overflow: scroll;
width: 100%;
box-sizing: border-box;
Expand Down
7 changes: 7 additions & 0 deletions src/in-page-ui/tooltip/content_script/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,13 @@ class TooltipRoot extends React.Component<TooltipRootProps, TooltipRootState> {
}

setCurrentAnnotation = (annotationId: string) => {
if (!annotationId) {
this.setState({
currentAnnotation: null,
currentAnnotationLists: [],
})
return
}
const annotation = this.props.annotationsCache.annotations.byId[
annotationId
]
Expand Down

0 comments on commit 13fb960

Please sign in to comment.