mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 11:58:00 +00:00
Use the shared inner scrolling layout in the visual briefing
This commit is contained in:
2 files changed
+6
-8
No files matched your search
@@ -6,7 +6,10 @@
|
||||
|
||||
<CascadingValue Value="Components.VISUAL_BRIEFING_ASSISTANT">
|
||||
<CascadingValue Value="@this.CurrentMediaOwner">
|
||||
<div class="visual-briefing-shell">
|
||||
@* The assistant does not inherit AssistantBase, so it sets up the inner scrolling itself, the
|
||||
way the log viewer does. A plain div is enough here: unlike AssistantBase, this assistant
|
||||
deliberately has no area-wide drop zone, because its two zones have to be aimed at. *@
|
||||
<div class="inner-scrolling-context">
|
||||
<PreviewPrototype ApplyInnerScrollingFix="true"/>
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Class="mb-3 mr-3" StretchItems="StretchItems.Start">
|
||||
<MudText Typo="Typo.h3">@T("Visual Briefings")</MudText>
|
||||
@@ -14,6 +17,7 @@
|
||||
<MudIconButton Variant="Variant.Text" Icon="@Icons.Material.Filled.Settings" OnClick="@this.OpenSettingsDialogAsync"/>
|
||||
</MudStack>
|
||||
|
||||
<InnerScrolling>
|
||||
<MudList T="Guid"
|
||||
Color="Color.Primary"
|
||||
Class="mb-1"
|
||||
@@ -334,6 +338,7 @@
|
||||
}
|
||||
}
|
||||
</main>
|
||||
</InnerScrolling>
|
||||
</div>
|
||||
</CascadingValue>
|
||||
</CascadingValue>
|
||||
@@ -1,10 +1,3 @@
|
||||
.visual-briefing-shell {
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.visual-briefing-main {
|
||||
min-width: 0;
|
||||
padding-bottom: 1rem;
|
||||
|
||||
Reference in new issue
Block a user