mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-24 20:52:11 +00:00
Fixed the visual briefing build stepper to hide its unnecessary actions
This commit is contained in:
parent
e81c005d15
commit
ec21d492a4
@ -1,6 +1,6 @@
|
|||||||
@inherits MSGComponentBase
|
@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)">
|
<MudExpansionPanel Text="@this.BuildProgressTitle" Expanded="@(this.Build?.Status is not VisualBriefingBuildStatus.COMPLETED)">
|
||||||
<MudStepper ActiveIndex="@this.BuildStepperIndex"
|
<MudStepper ActiveIndex="@this.BuildStepperIndex"
|
||||||
CompletedStepColor="Color.Primary"
|
CompletedStepColor="Color.Primary"
|
||||||
@ -43,6 +43,9 @@
|
|||||||
</MudStep>
|
</MudStep>
|
||||||
}
|
}
|
||||||
</ChildContent>
|
</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>
|
</MudStepper>
|
||||||
</MudExpansionPanel>
|
</MudExpansionPanel>
|
||||||
</MudExpansionPanels>
|
</MudExpansionPanels>
|
||||||
@ -103,6 +103,13 @@
|
|||||||
display: initial !important;
|
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 */
|
/* Context div for inner scrolling component */
|
||||||
.inner-scrolling-context {
|
.inner-scrolling-context {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user