MAPPS-346: tighten collapsed sidebar density so the rail fits without scrolling #407

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

Follow-up to #406 (merged). Tightens the collapsed sidebar's icon spacing so the full nav fits without an internal scroll. Sidebar scope only.

What changed (collapsed rail only; expanded unchanged)

  • Collapsed NavItem vertical padding: py-2 to py-1.
  • Nav list: space-y-1 to space-y-0.5, and bottom padding pb-4 to pb-2.
  • Each collapsed NavSection: pt-2 space-y-1 to pt-1 space-y-0.5, keeping a small gap so groups stay distinct.

Net effect: roughly ~8px saved per item plus tighter group gaps, enough to keep the icon-only rail on-screen without scrolling on typical viewports. No behavior change; expanded-rail spacing is identical.

#MAPPS-346

Follow-up to #406 (merged). Tightens the collapsed sidebar's icon spacing so the full nav fits without an internal scroll. Sidebar scope only. ## What changed (collapsed rail only; expanded unchanged) - Collapsed `NavItem` vertical padding: `py-2` to `py-1`. - Nav list: `space-y-1` to `space-y-0.5`, and bottom padding `pb-4` to `pb-2`. - Each collapsed `NavSection`: `pt-2 space-y-1` to `pt-1 space-y-0.5`, keeping a small gap so groups stay distinct. Net effect: roughly ~8px saved per item plus tighter group gaps, enough to keep the icon-only rail on-screen without scrolling on typical viewports. No behavior change; expanded-rail spacing is identical. #MAPPS-346
feat(sidebar): tighten collapsed rail density so it fits without scrolling
All checks were successful
Check / fmt + clippy + tests (pull_request) Successful in 2m8s
Create release / Create release from merged PR (pull_request) Has been skipped
ad94958c42
Reduced the vertical spacing of the icon-only collapsed rail so the full nav fits without an internal scroll on typical viewports. Collapsed NavItem padding drops from py-2 to py-1, the nav list uses space-y-0.5 (from space-y-1) with pb-2 (from pb-4), and each collapsed NavSection uses pt-1 space-y-0.5 (from pt-2 space-y-1) while keeping a small gap so groups stay visually distinct. Expanded-rail spacing 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:02:29 +02:00
vas2000-work deleted branch feat/MAPPS-346-collapsed-nav-density 2026-07-02 01:04:18 +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!407
No description provided.