svh to dvh

This commit is contained in:
Benjamin Lu
2025-04-13 15:04:00 -04:00
parent 28ab12e666
commit bdcb8b1137
4 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -42,7 +42,7 @@
body {
width: 100vw;
height: 100svh;
height: 100dvh;
margin: 0;
overflow: hidden;
background: var(--bg-color) var(--bg-img);

View File

@@ -1,5 +1,5 @@
<template>
<div class="comfyui-body grid h-svh w-screen overflow-hidden">
<div class="comfyui-body grid h-dvh w-screen 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-svh overflow-hidden relative">
<main class="w-full min-h-dvh overflow-hidden relative">
<router-view />
</main>
</template>