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 9, 2023
1 parent 385f62f commit ea97343
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/controls/panelToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const PanelToggle = ({ panel, on }: Props) => {
on={on}
callback={() => dispatch(togglePanelDisplay(panel))}
label=""
style={{ height: "21px" }} // height from ToggleBackground. FIXME: this should be hardcoded in Toggle
/>
);
};

0 comments on commit ea97343

Please sign in to comment.