836 B
836 B
Quickstart: 022-fixed-layout-bars
What This Feature Does
Converts the encounter tracker from a single scrollable page to a three-zone layout:
- Fixed top bar: Turn navigation (Previous / Round X / Next)
- Scrollable middle: Combatant list
- Fixed bottom bar: Add-creature action bar
Key File
The only file that needs structural changes:
apps/web/src/App.tsx— Main layout container
Development
pnpm --filter web dev # Start dev server
pnpm check # Run all checks before committing
Testing Approach
- Add 15+ combatants to create overflow
- Scroll the combatant list — top and bottom bars must stay fixed
- Verify autocomplete suggestions appear above the bottom bar
- Test with stat block panel open on desktop
- Resize viewport to verify responsive behavior