better image preview window

This commit is contained in:
EugeneTes
2026-03-19 09:26:05 +01:00
parent b686343811
commit 7173248532
3 changed files with 71 additions and 38 deletions

View File

@@ -25,8 +25,10 @@ public class BlazorImagePreviewService : IImagePreviewService
};
var options = new DialogOptions
{
MaxWidth = MaxWidth.Large,
FullWidth = true
MaxWidth = MaxWidth.False,
FullWidth = true,
FullScreen = true,
NoHeader = true
};
var dialog = await _dialogService.ShowAsync<ImagePreviewDialog>("Image Preview", parameters, options);
await dialog.Result;