Fixed the visual briefing build stepper to hide its unnecessary actions

This commit is contained in:
Thorsten Sommer 2026-08-02 14:57:57 +02:00
parent e81c005d15
commit ec21d492a4
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,6 @@
@inherits MSGComponentBase
<MudExpansionPanels Class="mb-4" Elevation="0">
<MudExpansionPanels Class="mb-4 visual-briefing-build-progress" Elevation="0">
<MudExpansionPanel Text="@this.BuildProgressTitle" Expanded="@(this.Build?.Status is not VisualBriefingBuildStatus.COMPLETED)">
<MudStepper ActiveIndex="@this.BuildStepperIndex"
CompletedStepColor="Color.Primary"
@ -43,6 +43,9 @@
</MudStep>
}
</ChildContent>
@* The build runs on its own. Overriding the actions with empty content keeps MudBlazor from
rendering its Previous, Next, Skip, and Complete buttons, which have nothing to do here. *@
<ActionContent></ActionContent>
</MudStepper>
</MudExpansionPanel>
</MudExpansionPanels>

View File

@ -103,6 +103,13 @@
display: initial !important;
}
/* The visual briefing build stepper only reports progress, so its actions are overridden with empty
content. MudBlazor still renders the surrounding action bar, which would leave an empty padded row.
Scoped on purpose: the Assistant Builder uses an interactive stepper that needs its buttons. */
.visual-briefing-build-progress .mud-stepper-actions {
display: none;
}
/* Context div for inner scrolling component */
.inner-scrolling-context {
display: flex;