Skip to content

Scheduling infrastructure for absolutely everyone.

fix: onboarding flow styling (#15111)

Rajiv Sahal98235d00c817
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 580ca5420c1..ee27bd50ffb 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 (
- <div className="flex h-auto flex-col items-center justify-center px-5 py-5 md:px-10 md:py-0 lg:h-[100vh]">
+ <div className="flex h-auto flex-col items-center justify-center px-5 py-10 md:px-10 lg:h-[100%]">
<div className="mb-5 text-center text-2xl font-semibold">
<h1>Subscribe to Platform</h1>
</div>
diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx
index 129de41392e..ecf979a272c 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 (
<div className="relative">
<aside
- style={{ maxHeight: `calc(100vh - ${bannersHeight}px)`, top: `${bannersHeight}px` }}
+ style={!isPlatformUser ? sidebarStylingAttributes : {}}
className="bg-muted border-muted fixed left-0 hidden h-full max-h-screen w-14 flex-col overflow-y-auto overflow-x-hidden border-r md:sticky md:flex lg:w-56 lg:px-3">
<div className="flex h-full flex-col justify-between py-3 lg:pt-4">
<header className="todesktop:-mt-3 todesktop:flex-col-reverse todesktop:[-webkit-app-region:drag] items-center justify-between md:hidden lg:flex">