Skip to content

feat(layout): resize and snap panes and sidebar - #83

Merged
voltcrash merged 5 commits into
mainfrom
t3code/snap-divider-to-center
Sep 23, 2026
Merged

voltcrash merged 5 commits into
mainfrom
t3code/snap-divider-to-center

Conversation

@voltcrash

@voltcrash voltcrash commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

The pane divider and sidebar are difficult to return to their exact default sizes by dragging, and the sidebar previously had a fixed width.

Snap the pane divider to 50/50 within 12 pixels of center. Make the desktop sidebar resizable on either side, save its width, and snap it to its original 258px width within 12 pixels. Add browser coverage for both layouts, sidebar positions, and saved sizes.

@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
onyx Ready Ready Preview Sep 23, 2026 3:58pm UTC

@voltcrash voltcrash changed the title feat(editor): snap divider to center feat(layout): resize and snap panes and sidebar Sep 23, 2026
The sidebar resize target overlapped the pane restore button, and the rows drag test assumed an unsettled divider position.

Move the sidebar target inside the sidebar and locate the divider from its actual bounds after the stacked layout is ready.
@voltcrash
voltcrash merged commit 519790b into main Sep 23, 2026
3 checks passed
@voltcrash
voltcrash deleted the t3code/snap-divider-to-center branch October 22, 2026 12:13

This branch was successfully deployed

1 active deployment
Preview — e65810ef Deployed Sep 23, 2026 by vercel[bot]
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.

1 participant