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 5ecf429 commit e3eabae
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 @@ -55,7 +55,9 @@ export const PanelHeader = ({ panel, title, tooltip, panelIsVisible, hasOptions,
display={true}
on={panelIsVisible}
callback={togglePanelVisibility}
label="" />
label=""
style={{ height: "21px" }} // height from ToggleBackground. FIXME: this should be hardcoded in Toggle
/>
</PanelSectionHeaderContainer>
);
};

0 comments on commit e3eabae

Please sign in to comment.