From e3eabae6ddec32dbcd68e7159d24efcee5d0b4ec 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/panelHeader.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/controls/panelHeader.tsx b/src/components/controls/panelHeader.tsx index 9d16c4ed5..2ad1c7890 100644 --- a/src/components/controls/panelHeader.tsx +++ b/src/components/controls/panelHeader.tsx @@ -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 + /> ); };