From 98235d00c8177c97bd55b738b23028271824f52f Mon Sep 17 00:00:00 2001 From: Rajiv Sahal Date: Mon, 20 May 2024 18:39:59 +0530 Subject: [PATCH] fix: onboarding flow styling (#15111) * fix sidebar styling * platform pricing style fixes --- .../settings/platform/pricing/platform-pricing/index.tsx | 2 +- packages/features/shell/Shell.tsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/web/components/settings/platform/pricing/platform-pricing/index.tsx b/apps/web/components/settings/platform/pricing/platform-pricing/index.tsx index 580ca5420c..ee27bd50ff 100644 --- a/apps/web/components/settings/platform/pricing/platform-pricing/index.tsx +++ b/apps/web/components/settings/platform/pricing/platform-pricing/index.tsx @@ -23,7 +23,7 @@ export const PlatformPricing = ({ teamId }: PlatformPricingProps) => { }); return ( -
+

Subscribe to Platform

diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx index 129de41392..ecf979a272 100644 --- a/packages/features/shell/Shell.tsx +++ b/packages/features/shell/Shell.tsx @@ -925,6 +925,11 @@ function SideBar({ bannersHeight, user, isPlatformUser = false }: SideBarProps) return publicPageUrl; }, [orgBranding?.slug, user?.username, user?.org?.id]); + const sidebarStylingAttributes = { + maxHeight: `calc(100vh - ${bannersHeight}px)`, + top: `${bannersHeight}px`, + }; + const bottomNavItems: NavigationItemType[] = [ { name: "view_public_page", @@ -951,7 +956,7 @@ function SideBar({ bannersHeight, user, isPlatformUser = false }: SideBarProps) return (