From c4453ba6059a575d4755569d29f5fdacb6cc544c Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Thu, 22 Feb 2024 10:20:08 +0800 Subject: [PATCH] remove scroll bar in running status --- .../RunningStatus.vue | 27 ++++++++++++------- .../ui/src/renderer/src/style/public.scss | 7 +++++ 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/packages/ui/src/renderer/src/page/GeekAutoStartChatWithBoss/RunningStatus.vue b/packages/ui/src/renderer/src/page/GeekAutoStartChatWithBoss/RunningStatus.vue index 4c940c7..ff16b52 100644 --- a/packages/ui/src/renderer/src/page/GeekAutoStartChatWithBoss/RunningStatus.vue +++ b/packages/ui/src/renderer/src/page/GeekAutoStartChatWithBoss/RunningStatus.vue @@ -1,13 +1,15 @@ @@ -42,7 +44,12 @@ onUnmounted(() => { diff --git a/packages/ui/src/renderer/src/style/public.scss b/packages/ui/src/renderer/src/style/public.scss index 9ce9f58..b400113 100644 --- a/packages/ui/src/renderer/src/style/public.scss +++ b/packages/ui/src/renderer/src/style/public.scss @@ -1,7 +1,14 @@ html, body { --monospace-font-family: Monaco, Consolas, Menlo, monospace; font-family: var(--monospace-font-family); + position: relative; + width: 100%; + height: 100%; } button, input, textarea { font-family: inherit; } +#app { + position: absolute; + inset: 0; +}