fix: proper image display
This commit is contained in:
parent
24ee69b98e
commit
fc2bbdf104
@ -168,8 +168,8 @@
|
||||
<ProgressRadial />
|
||||
{:then url}
|
||||
{#if url !== null}
|
||||
<div class="mt-8">
|
||||
<img src={url} alt="Generiertes Bild" class="h-auto max-w-full" />
|
||||
<div class="mt-8 h-full w-full">
|
||||
<img src={url} alt="Generiertes Bild" class="h-full w-full object-cover" />
|
||||
</div>
|
||||
{:else}
|
||||
<p>Generiere ein Bild!</p>
|
||||
@ -180,7 +180,7 @@
|
||||
</div>
|
||||
{/await}
|
||||
</div>
|
||||
<div class="px-4 mb-4">
|
||||
<div class="mb-4 px-4">
|
||||
<p>Bildgenerations-Model</p>
|
||||
<RadioGroup active="variant-filled-primary" hover="hover:variant-soft-primary">
|
||||
{#each models as model}
|
||||
|
Loading…
Reference in New Issue
Block a user