Made the file list scrollable

This commit is contained in:
Thorsten Sommer 2025-12-18 08:13:30 +01:00
parent 4cefc6243c
commit 7dd505b554
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -13,10 +13,11 @@
<MudDivider Class="mt-3 mb-3"/> <MudDivider Class="mt-3 mb-3"/>
<div style="max-height: 50vh; overflow-y: auto; padding-right: 8px;">
@if (!this.DocumentPaths.Any()) @if (!this.DocumentPaths.Any())
{ {
<MudJustifiedText Typo="Typo.body1" Class="mt-3"> <MudJustifiedText Typo="Typo.body1" Class="mt-3">
@T("There arent any file attachments available right now.") @T("There aren't any file attachments available right now.")
</MudJustifiedText> </MudJustifiedText>
} }
@ -64,6 +65,7 @@
</MudStack> </MudStack>
} }
} }
</div>
</DialogContent> </DialogContent>
<DialogActions> <DialogActions>
<MudButton OnClick="@this.Close" Variant="Variant.Filled" Color="Color.Primary"> <MudButton OnClick="@this.Close" Variant="Variant.Filled" Color="Color.Primary">