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 /> <router-view />
<ProgressSpinner <ProgressSpinner
v-if="isLoading" 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 /> <GlobalDialog />
<BlockUI full-screen :blocked="isLoading" /> <BlockUI full-screen :blocked="isLoading" />

View File

@@ -1,5 +1,5 @@
<template> <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"> <div id="comfyui-body-top" class="comfyui-body-top">
<TopMenubar v-if="useNewMenu === 'Top'" /> <TopMenubar v-if="useNewMenu === 'Top'" />
</div> </div>

View File

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