From 6753065b16fafa781fa44424e66852cd56a2f33d Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:28:02 -0800 Subject: [PATCH] Fix toggle height (and thus vertical alignment) in panel section header --- src/components/controls/panelToggle.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/controls/panelToggle.tsx b/src/components/controls/panelToggle.tsx index 63b03183d..809f20537 100644 --- a/src/components/controls/panelToggle.tsx +++ b/src/components/controls/panelToggle.tsx @@ -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 /> ); };