fix sidebar icon rail overflow

The rail was a fixed Row(center, max) — one button per tab — so adding
the Search tab pushed it 54px past its width and threw a RenderFlex
overflow. Center the icons when they fit and scroll horizontally when
they don't (LayoutBuilder + SingleChildScrollView + a minWidth floor),
so the rail stays correct at any tab count. (T-200)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-01 16:04:36 +02:00
co-authored by Claude Opus 4.8
parent c596ec9c28
commit eb90ba14bc
5 changed files with 50 additions and 12 deletions
+2
View File
@@ -47,6 +47,8 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit.
### Fixed
- The sidebar icon rail no longer overflows when there are more tabs than fit:
it centers the icons when they fit and scrolls horizontally otherwise. (T-200)
- The editor pane now opens over the Claude pane when a file is opened — the
reader's edit pencil, a file-tree click, or a decision's edit all reveal the
editor tab now (it was contributed but never activated). (T-197)