Repository navigation
fix(client): align every control in the page-header filter bar - #344
Conversation
|
✅ PR was reviewed by Security Agent. No security-relevant changes detected: Approved. Generated by Claude Code |
|
✅ PR was reviewed by Accessibility Agent and no issues were found: Approved. Scope: CSS-only ( Generated by Claude Code |
|
✅ PR was reviewed by Senior Tester Agent and no issues were found. Generated by Claude Code |
|
✅ PR was reviewed by Senior Architect Agent and no issues were found: Approved. Scope: CSS-only ( Non-blocking note: if Generated by Claude Code |
|
Senior Frontend Agent review: no blocking issues, 2 nits. Verified against the tree (PR head 362a5f8):
Nits (non-blocking):
Optional: the alignment contract (every direct child of I did not run the app, so the before/after measurements in the PR body are taken as reported. ✅ "PR was reviewed by Senior Frontend Agent and no blocking issues were found: Approved (nits above)." Generated by Claude Code |
…menu Review nits on PR #344: target .odc-popmenu, the only child whose zero-specificity align-self: center needs beating, instead of every child, and move the height comment onto .odc-ms-trigger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014EFrKrHPVW1Y7e1xyUKDRF
Measured on all 17 pages with a filter bar: the search field sat 4px down (MudBlazor dense margin), multiselect triggers were 42px and centred by OdsPopupMenu's global align-self, and the sort select alone was top-aligned, so one row showed tops at 0/3/4px and heights of 38/40/42px. All filter-bar controls now use the DS --control-h (40px), the search field's vertical margin is zeroed inside the bar, and every child is pinned to flex-start. The photos toolbar buttons move from 38px to --control-h as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014EFrKrHPVW1Y7e1xyUKDRF
…menu Review nits on PR #344: target .odc-popmenu, the only child whose zero-specificity align-self: center needs beating, instead of every child, and move the height comment onto .odc-ms-trigger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014EFrKrHPVW1Y7e1xyUKDRF
52b320a to
2b285f4
Compare
Summary
The page-header filter bars were misaligned on all 17 pages that have one. Measured in a browser:
.odc-popmenu's globalalign-self)Changes (CSS only):
.odc-ms-trigger: changed from 42 px tovar(--control-h)(DS token, 40 px)..pl-toolbtn: changed from 38 px tovar(--control-h).PageHeader.razor.css: inside.ph-filter-bar,.odc-popmenuchildren are pinned toalign-self: flex-start(beating the zero-specificity globalcenter), and the search field's vertical margin is set to 0.Type of Change
Testing Steps
/contacts,/photos,/journal,/transactionsand open the Search region.dotnet test Odyssey.Client.Tests: 3729 passed, 0 failed.Related Issues
None.
🤖 Generated with Claude Code
https://claude.ai/code/session_014EFrKrHPVW1Y7e1xyUKDRF