Skip to content

feat: add resizable sidebars and fix FOUC#145

Merged
braboj merged 1 commit into
mainfrom
feature/resizable-sidebar
Apr 25, 2026
Merged

feat: add resizable sidebars and fix FOUC#145
braboj merged 1 commit into
mainfrom
feature/resizable-sidebar

Conversation

@braboj

@braboj braboj commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add draggable splitter between sidebars and content with teal highlight on hover
  • Session-only resize (140px–400px range), resets on navigation
  • Widen default sidebar from 12rem to 16rem
  • Fix theme flash of unstyled content — init moved to <head>
  • Add favicon <link> with correct base path
  • Remove PlaybookNav — all pages show tutorial links on the right

Test plan

  • npm run build succeeds — 27 pages
  • Drag left splitter to resize ToC sidebar
  • Drag right splitter to resize tutorial links sidebar
  • Resize resets on page navigation
  • No theme flash on dark mode page load
  • No favicon 404 in dev server console
  • Mobile: splitters and sidebars hidden

🤖 Generated with Claude Code

@braboj braboj force-pushed the feature/resizable-sidebar branch 5 times, most recently from 7a51dde to 617b8cf Compare April 25, 2026 16:10
Add draggable splitter between sidebars and content area with teal
highlight on hover. Session-only — resets on navigation. Widen
default sidebar to 16rem.

Fix flash of unstyled content by moving theme init to the head.
Add favicon link with correct base path.

Remove PlaybookNav component — all pages show tutorial links on
the right sidebar.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@braboj braboj force-pushed the feature/resizable-sidebar branch from 617b8cf to e0ce3ea Compare April 25, 2026 16:12
@braboj braboj merged commit 9668f5d into main Apr 25, 2026
1 check passed
@braboj braboj deleted the feature/resizable-sidebar branch April 25, 2026 16:13
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