From c2be98f2e4f9fb52214abc16ed0edde79f20c97b Mon Sep 17 00:00:00 2001 From: "Shaun A. Noordin" Date: Fri, 31 May 2024 23:26:55 +0100 Subject: [PATCH] Minor documentation --- .../components/TasksPage/components/StepItem/StepItem.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/pages/lab-pages-editor/components/TasksPage/components/StepItem/StepItem.jsx b/app/pages/lab-pages-editor/components/TasksPage/components/StepItem/StepItem.jsx index 5a6676e900..0519301515 100644 --- a/app/pages/lab-pages-editor/components/TasksPage/components/StepItem/StepItem.jsx +++ b/app/pages/lab-pages-editor/components/TasksPage/components/StepItem/StepItem.jsx @@ -83,12 +83,14 @@ function StepItem({ setContainerStyle({ height: `${content.offsetHeight - CONTAINER_HEIGHT_OFFSET}px`, marginBottom: `${CONTAINER_HEIGHT_OFFSET}px`, + // overflow: 'visible' // Unnecessary here, as this is already specified in the .styl }); } else { setContainerStyle({}); } } + // TODO: experimentalRestyleContainer() should also trigger when the window resizes. useEffect(experimentalRestyleContainer, [step]) return (