Skip to content

Commit

Permalink
Fix toggle height (and thus vertical alignment) in panel section header
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Nov 13, 2023
1 parent e117e19 commit 970fe1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/controls/panelHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export const PanelHeader = ({ panel, title, tooltip, panelIsVisible }: Props) =>
display={true}
on={panelIsVisible}
callback={togglePanelVisibility}
label="" />
label=""
style={{ height: "21px" }} // height from ToggleBackground. FIXME: this should be hardcoded in Toggle
/>
</HeaderContainer>
);
};

0 comments on commit 970fe1c

Please sign in to comment.