Skip to content

fix(desktop): add top padding to forum view to clear overlay header#758

Merged
wesbillman merged 1 commit into
mainfrom
forum-top-padding
May 27, 2026
Merged

fix(desktop): add top padding to forum view to clear overlay header#758
wesbillman merged 1 commit into
mainfrom
forum-top-padding

Conversation

@wesbillman
Copy link
Copy Markdown
Collaborator

Summary

Forum posts were colliding with the channel header because ForumView's root container had no top padding, while ChatHeader is rendered with overlaysContent (-mb-[44px]) and expects consumers to leave room.

Fix

Add pt-11 to the ForumView root, matching the convention used everywhere else ChatHeader overlays content (WorkflowDetailPanel, MessageThreadPanel, UserProfilePanel, AgentSessionThreadPanel).

Diff

-    <div className="flex h-full flex-col">
+    <div className="flex h-full flex-col pt-11">

One-line change. Pre-commit + pre-push hooks all green (rust-fmt, biome, desktop/web/mobile checks, builds, clippy, tests).

ChatHeader uses overlaysContent (-mb-[44px]) so screens must add pt-11 to
sit below it. ForumView was missing this, which made forum posts collide
with the header. Matches the pattern used by every other screen
(WorkflowDetailPanel, MessageThreadPanel, UserProfilePanel, etc.).

Signed-off-by: Wes <wesbillman@users.noreply.github.com>
@wesbillman wesbillman requested a review from a team as a code owner May 27, 2026 17:46
@wesbillman wesbillman enabled auto-merge (squash) May 27, 2026 17:47
@wesbillman wesbillman disabled auto-merge May 27, 2026 19:26
@wesbillman wesbillman merged commit 11c8c0d into main May 27, 2026
15 checks passed
@wesbillman wesbillman deleted the forum-top-padding branch May 27, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants