Bildanzeige auf Größe Skaliert
This commit is contained in:
parent
72d2b788f2
commit
11e9a930a1
|
@ -135,8 +135,8 @@
|
|||
async Task ShowImageDialog(string imageUrl)
|
||||
{
|
||||
var result = await DialogService.OpenAsync("", ds =>
|
||||
@<div class="d-flex justify-content-center align-items-center" style="height:100%;">
|
||||
<RadzenImage Path="@imageUrl"/>
|
||||
@<div>
|
||||
<RadzenImage Style="object-fit: contain; width: 100%; height:100%;" Path="@imageUrl"/>
|
||||
</div>, new DialogOptions() { CloseDialogOnOverlayClick = true });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue