From 34e84602ffd45540e1d612169c7117078e2ff908 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Sat, 12 Jul 2025 14:33:32 +0800 Subject: [PATCH] fix: embed height --- apps/chat/template/embed.js | 4 ++++ .../ai-chat/component/chat-input-operate/index.vue | 4 ++-- ui/src/views/application-workflow/index.vue | 6 ++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/chat/template/embed.js b/apps/chat/template/embed.js index 202b52db7..3336ed4c3 100644 --- a/apps/chat/template/embed.js +++ b/apps/chat/template/embed.js @@ -244,6 +244,10 @@ function initMaxkbStyle(root, maxkbId){ height: 680px; display:none; } + @media only screen and (max-height: 680px) { + #maxkb-chat-container{ + height: 600px} + } @media only screen and (max-width: 768px) { #maxkb-chat-container { width: 100%; diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index 228fa815b..eebad29b9 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -1,5 +1,5 @@