From d8f9aa4d74855c7df663ab233fb67f467d1db38c Mon Sep 17 00:00:00 2001 From: breeg554 Date: Mon, 14 Oct 2024 16:56:07 +0200 Subject: [PATCH] update sidebar height based on logs state --- .../build/BuilderSidebar/BuilderBottomSidebar.tsx | 7 ++++++- .../pipelines/build/BuilderSidebar/BuilderSidebar.tsx | 8 +++++++- apps/web-remix/app/tailwind.css | 5 +++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/apps/web-remix/app/components/pages/pipelines/build/BuilderSidebar/BuilderBottomSidebar.tsx b/apps/web-remix/app/components/pages/pipelines/build/BuilderSidebar/BuilderBottomSidebar.tsx index 221364d3f..3ec27ef64 100644 --- a/apps/web-remix/app/components/pages/pipelines/build/BuilderSidebar/BuilderBottomSidebar.tsx +++ b/apps/web-remix/app/components/pages/pipelines/build/BuilderSidebar/BuilderBottomSidebar.tsx @@ -76,7 +76,12 @@ const BuilderBottomSidebarClient = ({ -
+
Promise; + contentClassName?: string; } // Bypass for getting rid of the hydration error when using the LS @@ -30,7 +31,10 @@ export const BuilderSidebar = (props: BuilderSidebarProps) => { ); }; -const BuilderSidebarClient = ({ onBlockCreate }: BuilderSidebarProps) => { +const BuilderSidebarClient = ({ + onBlockCreate, + contentClassName, +}: BuilderSidebarProps) => { const organizationId = useOrganizationId(); const [state, setState] = useLocalStorage( @@ -94,8 +98,10 @@ const BuilderSidebarClient = ({ onBlockCreate }: BuilderSidebarProps) => {