diff --git a/index.html b/index.html index b566e0c..092026a 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,22 @@ ChatGPT | OVINC + +
diff --git a/src/App.css b/src/App.css index 61fa258..99a0079 100644 --- a/src/App.css +++ b/src/App.css @@ -13,7 +13,7 @@ body[arco-theme='dark'] { html, body, #app { width: 100vw; - height: 100vh; + height: calc(100 * var(--vh)); } html { diff --git a/src/App.vue b/src/App.vue index 971ff53..df071bc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -181,7 +181,7 @@ onMounted(() => initRUM()); } #app-layout { - height: 100vh; + height: calc(100 * var(--vh)); width: 100vw; } diff --git a/src/views/Chat.vue b/src/views/Chat.vue index 76fbe70..1119d12 100644 --- a/src/views/Chat.vue +++ b/src/views/Chat.vue @@ -111,6 +111,6 @@ const setPromptForm = (data) => promptForm.value = data; width: 100%; display: flex; flex-direction: column; - max-height: calc(100vh - 160px); + max-height: calc(100 * var(--vh) - 160px); }