Skip to content

Commit

Permalink
fix: Add scroll bar to Query Engine Status popover (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm authored Nov 29, 2023
1 parent 0b5699a commit f8d8dd4
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 @@ -167,7 +167,7 @@ export const QueryEngineStatusButton: React.FC<IProps> = ({

const panelContent = (
<div className="QueryEngineStatusPopover">
<Menu>
<Menu height="75vh">
<MenuInfoItem>
<Timer
formatter={timerFormatter}
Expand Down
2 changes: 1 addition & 1 deletion querybook/webapp/ui/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Menu = styled.div.attrs<{
})`
${(props) =>
props.height &&
`maxHeight: ${props.height};
`max-height: ${props.height};
overflow-x: hidden;
overflow-y: auto;`}
${(props) => props.boxShadow && 'box-shadow: var(--box-shadow);'}
Expand Down

0 comments on commit f8d8dd4

Please sign in to comment.