Skip to content

fix: use the shared Card style for the live-output console container#846

Merged
laurentiu021 merged 1 commit into
mainfrom
fix/r7-console-card-uniformity
Jun 11, 2026
Merged

fix: use the shared Card style for the live-output console container#846
laurentiu021 merged 1 commit into
mainfrom
fix/r7-console-card-uniformity

Conversation

@laurentiu021

Copy link
Copy Markdown
Owner

What

Audit Round 7 (uniformity) — finishes finding #7. The live-output console's outer Border was a one-off (CornerRadius="6") duplicating the Card style's surface/border but with a smaller radius than every other card. Switched it to Style="{StaticResource Card}" (same Surface1 background, Border1 brush, 1px border, 10px radius), keeping Padding="0" since the toolbar and output list manage their own spacing.

The only visual change is the corner radius (6 → 10), bringing the console in line with the surrounding cards on App Updates, Cleanup, System Health, and Windows Update.

Why this was deferred earlier

In PR #839 I skipped the Card swap because Card carries Padding="16" and the console intentionally uses Padding="0" — a blind swap risked injecting inner padding on four host views. This PR does it safely by overriding Padding="0" on the styled Border, so the radius unifies but the zero inner gap is preserved.

Verification

  • Build: main + unit + integration, 0 errors / 0 warnings (Release).
  • Visually verified: launched the published single-file build, opened the Cleanup tab, and confirmed the console card's corners, zero inner padding, and alignment match the sibling cards (no double-border, no extra gap).

Notes

  • fix: (user-visible styling) — version bumped to 1.20.13, CHANGELOG updated in this PR. Triggers a release.

The console's outer Border was a one-off (CornerRadius 6) that duplicated the
Card style's surface/border but with a smaller radius than every other card.
Switched it to Style={StaticResource Card} (same Surface1 background, Border1
brush, 1px border, 10px radius) while keeping Padding=0 — the toolbar and output
list manage their own spacing, so the console stays flush with no extra inner
gap. Visual change is the corner radius (6 -> 10), bringing it in line with the
surrounding cards on App Updates, Cleanup, System Health, and Windows Update.

Verified by launching the published build and inspecting the Cleanup tab: the
console card's corners, padding, and alignment match the sibling cards.
@laurentiu021 laurentiu021 merged commit 4a78037 into main Jun 11, 2026
4 checks passed
@laurentiu021 laurentiu021 deleted the fix/r7-console-card-uniformity branch June 11, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant