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 10, 2023
1 parent a5c4f89 commit a8f8b0d
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 @@ -25,6 +25,7 @@ export const PanelToggle = ({ on, callback }: Props) => {
on={on}
callback={callback}
label=""
style={{ height: "21px" }} // height from ToggleBackground. FIXME: this should be hardcoded in Toggle
/>
);
};

0 comments on commit a8f8b0d

Please sign in to comment.