Repository navigation
Fix dashboard layout and disabled control styling - #20170
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20170Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20170" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
The message-box margin override loses to Fluent UI’s higher-specificity isolated style.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates dashboard CSS to fix layout gaps, dialog scrolling, and dark-theme disabled states.
Changes:
- Adjusts empty message-bar and dialog sizing behavior.
- Aligns disabled control colors and cursors.
- Repositions the selected dropdown indicator.
File summaries
| File | Description |
|---|---|
layout.css |
Updates dialog sizing, padding, and message-box spacing. |
design.css |
Restores dark-theme disabled backgrounds. |
controls.css |
Updates disabled checkboxes and dropdown indicators. |
MainLayout.razor.css |
Hides only the empty message-bar element. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Tests selector10 / 99 PR test projects · 3 PR jobs, from 4 changed files. Selected PR test projects (10 / 99)
Selected PR jobs (3)
How these were chosen — grouped by what changed
🔧 📦 affected project 📦 affected project 🔧 Job reasons
Selection computed for commit |
There was a problem hiding this comment.
🔵 Needs a closer look
The new dialog message-box selector does not match the rendered Fluent UI class, leaving the spacing fix ineffective.
Review details
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
src/Aspire.Dashboard/wwwroot/css/layout.css:573
- This selector does not match Fluent UI's
MessageBoxmarkup, which rendersclass="fluent-messagebox"(without the extra hyphen). As written, the margin override is never applied, so the dialog spacing regression remains.
- Files reviewed: 4/4 changed files
- Comments generated: 0 new
- Review effort level: Balanced
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Pull request created: #1682
|
|
📝 Documentation has been drafted in microsoft/aspire.dev#1682 targeting Added a bullet to the "Other dashboard improvements" list in
Note This draft PR needs human review before merging. |
Description
Fix dashboard styling regressions that caused empty message bar space, premature dialog scrolling, and inconsistent disabled controls in dark mode.
User-facing usage
Dialogs now use the available vertical space before showing a scrollbar. Disabled text inputs, dropdowns, number inputs, and checkboxes use consistent dark-theme surfaces and disabled affordances.
Screenshots / Recordings
Validation
Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?