Repository navigation
Add a lip of window frame around the macOS desktop content card - #5237
Merged
SawyerHood merged 1 commit intoOct 9, 2026
Merged
Conversation
The framed macOS layout ran the content card to the right and bottom window edges. Inset it by 4px on both and round the remaining card corners so the frame shows around it. Co-Authored-By: Claude Code <[email protected]>
SawyerHood
marked this pull request as ready for review
October 9, 2026 02:17
SawyerHood
deleted the
bb/add-a-small-lip-to-the-macos-desktop-app-thr_8iuh4m3hwm
branch
October 9, 2026 02:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
The framed macOS desktop layout drew its title bar across the top but ran the content card flush to the right and bottom window edges, so the card had one rounded corner and no frame around the rest of it.
What changed
apps/app/src/components/ui/sidebar.tsx: the framed wrapper now pads its right and bottom edges by a new--bb-window-frame-lip(4px), and the fixed sidebar panel subtracts it from its height. The sidebar card rounds its bottom-left corner, the main card rounds its top-right and bottom-right corners, and both gain the seam border on the newly exposed edges. With the sidebar collapsed, the main card rounds all four corners.apps/app/src/app.css:--bb-window-frame-lipdefaults to0px, so unframed layouts (web, Windows, Linux, compact viewports) are unchanged.apps/app/src/views/RootComposeView.tsx: the home screen's pinned right-panel toggle is offset by the lip so it keeps its distance from the card edge.No wire, CLI, or plugin API changes.
How you verified
pnpm exec turbo run test --filter=@bb/app -- src/components/ui/sidebar.test.tsx src/components/layout src/lib/bb-desktop.test.ts src/components/ui/theme.test.ts(189 passed), including a new test for the lip padding, panel height, and card corners.pnpm exec turbo run typecheck lint --filter=@bb/appandoxfmt --checkon the changed files.Not yet checked: a native Browser tab is a square view, so its bottom-right corner may show past the card's rounded corner.
🤖 Generated with Claude Code