Skip to content

Scheduling infrastructure for absolutely everyone.

fix sidebar height not growing (#15223)

Rajiv Sahal051510fa3627
diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx
index 8361ccde742..b3e88ffb0ca 100644
--- a/packages/features/shell/Shell.tsx
+++ b/packages/features/shell/Shell.tsx
@@ -955,7 +955,10 @@ function SideBar({ bannersHeight, user, isPlatformUser = false }: SideBarProps)
<div className="relative">
<aside
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">
+ className={classNames(
+ "bg-muted border-muted fixed left-0 hidden h-full w-14 flex-col overflow-y-auto overflow-x-hidden border-r md:sticky md:flex lg:w-56 lg:px-3",
+ !isPlatformUser && "max-h-screen"
+ )}>
<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">
{orgBranding ? (