Skip to content

Commit

Permalink
fixing alignment of Filter Annotations Popover and Text Analysis Popover
Browse files Browse the repository at this point in the history
  • Loading branch information
mbogo-mit committed Oct 31, 2023
1 parent 101bdf7 commit 7264d89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/FilterPopover/FilterPopover.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ function FilterPopover({ session }) {
<OverlayTrigger
trigger="click"
key="unsaved-changes-popover"
placement="bottom"
placement="bottom-end"
rootClose
overlay={annotationIdBeingEdited === undefined ? <div /> : unsavedChangesPopoverComponent}
>
Expand All @@ -494,7 +494,7 @@ function FilterPopover({ session }) {
<OverlayTrigger
trigger="click"
key="filter-popover"
placement="bottom"
placement="bottom-end"
onToggle={(isOpen) => setIsFilterPopoverOpen(isOpen)}
rootClose
overlay={annotationIdBeingEdited !== undefined
Expand Down
2 changes: 1 addition & 1 deletion src/components/TextAnalysisPopover/TextAnalysisPopover.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function TextAnalysisPopover({ textAnalysisData, loadingTextAnalysisData, getTex
<OverlayTrigger
trigger="click"
key="filter-popover"
placement="bottom"
placement="bottom-end"
onToggle={(isOpen) => setIsFilterPopoverOpen(isOpen)}
rootClose
overlay={filterPopoverComponent}
Expand Down

0 comments on commit 7264d89

Please sign in to comment.