Fix dynamic screen height (#3626)

This commit is contained in:
Yiximail
2025-04-26 01:12:30 +08:00
committed by GitHub
parent bf80ae7295
commit 630fa04882
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<router-view />
<ProgressSpinner
v-if="isLoading"
class="absolute inset-0 flex justify-center items-center h-screen"
class="absolute inset-0 flex justify-center items-center h-[unset]"
/>
<GlobalDialog />
<BlockUI full-screen :blocked="isLoading" />

View File

@@ -1,5 +1,5 @@
<template>
<div class="comfyui-body grid h-screen w-screen overflow-hidden">
<div class="comfyui-body grid h-full w-full overflow-hidden">
<div id="comfyui-body-top" class="comfyui-body-top">
<TopMenubar v-if="useNewMenu === 'Top'" />
</div>

View File

@@ -1,5 +1,5 @@
<template>
<main class="w-full min-h-screen overflow-hidden relative">
<main class="w-full h-full overflow-hidden relative">
<router-view />
</main>
</template>