MAPPS-346: spread collapsed sidebar to fill spare height (current density as minimum) #408

Merged
vas2000-work merged 1 commit from feat/MAPPS-346-collapsed-nav-fill into main 2026-07-02 01:15:31 +02:00
Owner

Follow-up to #407 (merged). The collapsed icon rail now spreads to fill spare vertical space instead of clustering at the top, while keeping the current tight density as the minimum. Sidebar scope only.

What changed (collapsed rail only; expanded unchanged)

  • The collapsed nav becomes a flex column (flex flex-col justify-between gap-0.5, replacing space-y-0.5).
  • gap-0.5 keeps today's tight spacing as the floor; justify-between distributes any extra height between the groups so the rail uses the full column when there is room.
  • On overflow, justify-content: space-between degrades to flex-start (no top clipping), so a rail taller than the viewport simply scrolls at the minimum density, exactly like current main.

Net: current main density is the minimum; the rail only spaces out when there is room.

#MAPPS-346

Follow-up to #407 (merged). The collapsed icon rail now spreads to fill spare vertical space instead of clustering at the top, while keeping the current tight density as the minimum. Sidebar scope only. ## What changed (collapsed rail only; expanded unchanged) - The collapsed nav becomes a flex column (`flex flex-col justify-between gap-0.5`, replacing `space-y-0.5`). - `gap-0.5` keeps today's tight spacing as the floor; `justify-between` distributes any extra height between the groups so the rail uses the full column when there is room. - On overflow, `justify-content: space-between` degrades to `flex-start` (no top clipping), so a rail taller than the viewport simply scrolls at the minimum density, exactly like current main. Net: current main density is the minimum; the rail only spaces out when there is room. #MAPPS-346
feat(sidebar): spread collapsed rail across spare height, tight as minimum
All checks were successful
Check / fmt + clippy + tests (pull_request) Successful in 2m7s
Create release / Create release from merged PR (pull_request) Has been skipped
584a49f14a
The collapsed icon rail now fills any spare vertical space instead of clustering at the top. The nav becomes a flex column with justify-between and gap-0.5, so today's tight spacing is the floor and extra height is distributed between the groups. When the rail is taller than the viewport, space-between degrades to flex-start (no top clipping), so it simply scrolls at the minimum density. Expanded rail is unchanged.

#MAPPS-346

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
vas2000-work scheduled this pull request to auto merge when all checks succeed 2026-07-02 01:15:27 +02:00
vas2000-work deleted branch feat/MAPPS-346-collapsed-nav-fill 2026-07-02 01:15:31 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!408
No description provided.