From ea97343643bc052a90f667025c4fa76b74d7cbd3 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 6d7426eb7..0f75beea6 100644 --- a/src/components/controls/panelToggle.tsx +++ b/src/components/controls/panelToggle.tsx @@ -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 /> ); };