Repository navigation
fix(client): align the term dialog's interval and every fields - #341
Conversation
The cadence echo ("Applies monthly.") rendered after the whole two-column
row, so it trailed both fields instead of sitting under Interval like
Every's own help line. It now lives in the Interval cell.
Interval also sat 8px below Every with its label indented 5px. MudSelect
and MudDatePicker wrap their control in a .mud-select / .mud-picker div,
so the form-row/form-grid/edit-grid margin reset never reached them, and
MudBlazor's `padding: 0 5px !important` on outlined labels beat the
global label reset. Both rules now cover those cases app-wide.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NEZeEumWaYvxjuCWzCruDX
|
✅ PR was reviewed by Security Agent. No security-relevant changes detected: Approved. Generated by Claude Code |
|
✅ PR was reviewed by Senior Tester Agent and no issues were found. Generated by Claude Code |
|
✅ PR was reviewed by Accessibility Agent and no issues were found: Approved. Checked: the cadence echo keeps Generated by Claude Code |
|
✅ PR was reviewed by Senior Architect Agent and no issues were found: Approved. Scope: frontend-only markup and CSS, so reviewed for contract and architectural implications only.
Non-blocking notes:
Generated by Claude Code |
Senior Frontend Agent reviewVerdict: no blocking issues. Approved from the frontend/design-system side (a review verdict, not a GitHub approval action). Reviewed by static read of the diff and the PR-branch source. I did not run the app and did not judge pixel alignment, so the manual step 2 in the PR description is still worth a visual pass. I also did not compare against the design-system artifact. What I verified
Nits (non-blocking)
No design-system, API, state or accessibility regressions found. Generated by Claude Code |
Summary
Two alignment nits in the New term / Edit term dialog (
AddTermDialog):.trm-interval) as that field's helper line, at the same height as Every's "Leave blank for …" line. Itsidis unchanged, so Every'saria-describedbystill points to it.MudSelect/MudDatePickerwrap their.mud-input-controlin adiv.mud-select/div.mud-picker. Because of that wrapper, the existing margin reset.odc-form-row > .mud-input-controlnever reached them. The reset now also covers> :is(.mud-select, .mud-picker) > .mud-input-controlin.odc-form-row,.odc-form-gridand.edit-grid..mud-input-label-outlined { padding: 0 5px !important }won over the global label reset'spadding: 0. The reset now uses!important.The two CSS fixes apply across the app, not just this dialog. Any MudSelect or DatePicker sharing a form row with a DS field had the same offset, and every Mud label was indented 5px from DS labels.
Not changed: MudBlazor helper text (for example under "First billed on") is still indented 8px by Mud's
px-2. That indent is app-wide and outside the scope of these two nits.Type of Change
Testing Steps
dotnet test Odyssey.Client.Testspassed: 3710 passed, 0 failed, 35 skipped by tier.Related Issues
None.
Generated by Claude Code