Skip to content

Commit 6778fe8

Browse files
authored
chore: fix size of TerminalWindow in PushImageModal (podman-desktop#9029)
Signed-off-by: Sonia Sandler <[email protected]>
1 parent 3542a2a commit 6778fe8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/renderer/src/lib/image/PushImageModal.svelte

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ async function pushImage(imageTag: string) {
3333
gotErrorDuringPush = false;
3434
initTerminal = true;
3535
await tick();
36+
window.dispatchEvent(new Event('resize'));
3637
logsPush?.reset();
3738
3839
pushInProgress = true;
@@ -104,8 +105,8 @@ $: window.hasAuthconfigForImage(imageInfoToPush.name).then(result => (isAuthenti
104105
</p>{/if}
105106
</div>
106107

107-
<div class="max-h-[185px]" hidden={initTerminal === false}>
108-
<TerminalWindow bind:terminal={logsPush} disableStdIn />
108+
<div class="h-[185px]" hidden={initTerminal === false}>
109+
<TerminalWindow class="h-full" bind:terminal={logsPush} disableStdIn />
109110
</div>
110111
</div>
111112

0 commit comments

Comments
 (0)