Fixed image width

This commit is contained in:
Thorsten Sommer 2025-12-30 15:22:26 +01:00
parent 359e57a66f
commit 9df0744d09
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -31,7 +31,7 @@
@if (this.Document?.IsImage ?? false)
{
<MudTabPanel Text="@T("Image View")" Icon="@Icons.Material.Filled.Image">
<MudImage ObjectFit="ObjectFit.ScaleDown" Src="@this.Document.FilePathAsUrl"/>
<MudImage ObjectFit="ObjectFit.ScaleDown" Style="width: 100%;" Src="@this.Document.FilePathAsUrl"/>
</MudTabPanel>
}
else