Skip to content

Commit

Permalink
fix: Select button popover position in notebooks (#18837)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite authored Nov 23, 2023
1 parent d61ae7b commit d8f479a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function NotebookListMini({ selectedNotebookId }: NotebookListMiniProps):
'Untitled'

return (
<NotebookSelectPopover placement="right-start">
<NotebookSelectPopover placement="bottom-start">
<LemonButton size="small" icon={!is3000 ? <IconNotebook /> : null} status="primary-alt">
<span className="font-semibold truncate">{selectedTitle || 'Notebooks'}</span>
</LemonButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export function NotebookSelectPopover({
}
{...props}
>
<span onClick={() => setShowPopover(true)}>{children}</span>
<span onClick={() => setShowPopover(!showPopover)}>{children}</span>
</Popover>
)
}
Expand Down

0 comments on commit d8f479a

Please sign in to comment.