Repository navigation
Fix layout width and clipped controls; polish buttons - #5
Merged
Merged
Conversation
- The sign-in wrapper (.platform-workspace) is a flex item of #root but had no flex rule, so it shrank to its content: dead space on wide screens and a layout jump when the Control Room opened. It now fills the row. - "Copy map" had no CSS and rendered as a default browser button. - Toolbar buttons keep their size instead of squashing labels onto two lines; the header wraps its right-hand group to a second row only when the row is too narrow, and that group scrolls from its start when it overflows (right-aligned overflow previously hid its start where it couldn't be reached). - One polish layer at the end of the stylesheet: consistent 8px corners, an inset top sheen that keeps each control's own colours, a soft shadow, a small lift on hover, a press on click, a visible keyboard focus ring, softer card shadows, and framed zoom controls and minimap. Reduced-motion users get no movement. - The floating Draft window starts below the toolbar even when it wraps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At the default chat width the header's contents were about 44px wider than the panel, so the Non-directive picker was clipped. The Think/Map slider now gives up width first, and if the panel is dragged narrower the picker wraps below instead of being cut off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Layout fixes plus a light visual polish. No component or behavior changes; everything is CSS except one default position.
Fixes
.platform-workspace(the sign-in wrapper) is a flex item of#rootbut had no flex rule, so it shrank to its content: about 1,600px on a 2,000px screen, with dead space on the right, and a layout jump when the Control Room opened. It now fills the row (src/platform/platform.css).Polish (one labelled block at the end of the stylesheet in
src/ui/App.tsx)prefers-reduced-motion.Testing
npm test: 37 files and 394 tests.npx tsc --noEmit,npm run build:pagesandnpm run verify:pagespass.npx playwright test): 4/4.After merging, run the "Deploy Mindmap to GitHub Pages" workflow; the live site has the width bug.
🤖 Generated with Claude Code