From dfc8ce89bbe0f655447f97aa866800a6757340ff Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Tue, 24 Sep 2024 11:58:28 +0800 Subject: [PATCH] support topbar layout --- web/src/components/ChatComponent.vue | 2 +- web/src/layouts/AppLayout.vue | 122 +++++++++++++++++++++++++-- 2 files changed, 115 insertions(+), 9 deletions(-) diff --git a/web/src/components/ChatComponent.vue b/web/src/components/ChatComponent.vue index 9773e86a..d81a5949 100644 --- a/web/src/components/ChatComponent.vue +++ b/web/src/components/ChatComponent.vue @@ -466,7 +466,7 @@ watch( .chat { position: relative; width: 100%; - height: 100vh; + max-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; diff --git a/web/src/layouts/AppLayout.vue b/web/src/layouts/AppLayout.vue index e27caa1c..83ab542b 100644 --- a/web/src/layouts/AppLayout.vue +++ b/web/src/layouts/AppLayout.vue @@ -1,5 +1,5 @@