TypeScript
fix(web): tighten sidebar search and footer spacing (#11466)
mariab0c6c3b2fd60
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsxindex 792aa3815fc..96f059fb23e 100644--- a/apps/web/src/components/Sidebar.tsx+++ b/apps/web/src/components/Sidebar.tsx@@ -4325,7 +4325,7 @@ export default function Sidebar() {fixedHeader={// Lifted above the stage backdrop, whose fade bleeds below the// header and would otherwise paint across the search row's outline.- <SidebarGroup className="relative z-[1] p-[var(--sidebar-content-inset)]">+ <SidebarGroup className="relative z-[1] p-[var(--sidebar-content-inset)] pt-1"><SidebarThreadHeadersearchFieldRef={headerSearchRef}hasProjects={projectGroups.length > 0}diff --git a/apps/web/src/components/settings/SettingsSidebarNav.tsx b/apps/web/src/components/settings/SettingsSidebarNav.tsxindex f215d6c25e1..c29068934ef 100644--- a/apps/web/src/components/settings/SettingsSidebarNav.tsx+++ b/apps/web/src/components/settings/SettingsSidebarNav.tsx@@ -342,7 +342,7 @@ export function SettingsSidebarNav({ pathname }: { pathname: string }) {)}</SidebarGroup></SidebarContent>- <SidebarFooter className="p-[var(--sidebar-content-inset)]">+ <SidebarFooter className="px-[var(--sidebar-content-inset)] py-1"><Suspense fallback={null}><T3ConnectSidebarSignIn /></Suspense>diff --git a/apps/web/src/components/sidebar/SidebarChrome.tsx b/apps/web/src/components/sidebar/SidebarChrome.tsxindex 4f115a75142..afbbf7671df 100644--- a/apps/web/src/components/sidebar/SidebarChrome.tsx+++ b/apps/web/src/components/sidebar/SidebarChrome.tsx@@ -223,7 +223,7 @@ export const SidebarUtilityMenu = memo(function SidebarUtilityMenu() {export const SidebarChromeFooter = memo(function SidebarChromeFooter() {return (- <SidebarFooter className="p-[var(--sidebar-content-inset)]">+ <SidebarFooter className="px-[var(--sidebar-content-inset)] py-1"><SidebarProviderUpdatePill /><SidebarUpdateArchitectureWarning /><SidebarUtilityMenu />diff --git a/apps/web/src/components/ui/sidebar.tsx b/apps/web/src/components/ui/sidebar.tsxindex 6dba220311d..a7abcb3bb55 100644--- a/apps/web/src/components/ui/sidebar.tsx+++ b/apps/web/src/components/ui/sidebar.tsx@@ -703,7 +703,7 @@ function SidebarContent({hideScrollbarsscrollFadescrollFadePadding={false}- className="h-auto min-h-0 flex-1"+ className="h-auto min-h-0 flex-1 [&>[data-slot=scroll-area-viewport]]:[--fade-size:0.75rem]"><div// Reordered rows must not pull the viewport to their new position.