Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(today): remove empty space below the spaces section (#109684)

Shy Alter81f2c4843d5a
diff --git a/frontend/src/layout/today/TodaySpacesSidebar.tsx b/frontend/src/layout/today/TodaySpacesSidebar.tsx
index a38dfa0f46d0..285c011af86b 100644
--- a/frontend/src/layout/today/TodaySpacesSidebar.tsx
+++ b/frontend/src/layout/today/TodaySpacesSidebar.tsx
@@ -151,10 +151,7 @@ export function TodaySpacesSidebar(): JSX.Element {
<IconPlus />
New chat
</Button>
- <div
- className="mt-6 mb-2 flex min-h-0 flex-1 flex-col overflow-hidden px-1"
- ref={layout.measureRefs.area}
- >
+ <div className="mt-6 flex min-h-0 flex-1 flex-col overflow-hidden px-1" ref={layout.measureRefs.area}>
{hasPinned && (
<TodayPaneSection
label="Pinned"
diff --git a/frontend/src/layout/today/todaySectionLayout.ts b/frontend/src/layout/today/todaySectionLayout.ts
index af3e64eb82bf..1579c43c924b 100644
--- a/frontend/src/layout/today/todaySectionLayout.ts
+++ b/frontend/src/layout/today/todaySectionLayout.ts
@@ -12,7 +12,7 @@ export interface TodaySectionInput {
const FILL_ORDER: readonly TodayWorkSectionId[] = ['recent', 'spaces', 'pinned']
-export const TODAY_SECTION_HEADER_HEIGHT = 36
+export const TODAY_SECTION_HEADER_HEIGHT = 28
const SHARE_CAP = 0.4
const MIN_FILL_HEIGHT = 56
const MIN_DRAG_HEIGHT = 40