From 861ebfc6e1cc20253b6407fc740caa366094e67e Mon Sep 17 00:00:00 2001 From: balibabu Date: Fri, 27 Feb 2026 19:17:41 +0800 Subject: [PATCH] Feat: Make the embedded page of chat compatible with mobile devices. (#13262) ### What problem does this PR solve? Feat: Make the embedded page of chat compatible with mobile devices. ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/components/embed-container.tsx | 22 +++++++++++++++------- web/src/pages/agent/share/index.tsx | 6 +++--- web/src/pages/next-chats/share/index.tsx | 8 ++++---- web/src/pages/next-search/index.tsx | 3 ++- 4 files changed, 24 insertions(+), 15 deletions(-) diff --git a/web/src/components/embed-container.tsx b/web/src/components/embed-container.tsx index e96dab6731..6355ad8a43 100644 --- a/web/src/components/embed-container.tsx +++ b/web/src/components/embed-container.tsx @@ -20,15 +20,23 @@ export function EmbedContainer({ return (
-
+
{appConf.appName}
-
-
-
- -
{title}
+
+
+
+ +
{title}
+
+
+
diff --git a/web/src/pages/agent/share/index.tsx b/web/src/pages/agent/share/index.tsx index 6d9fd2195c..7222dcd858 100644 --- a/web/src/pages/agent/share/index.tsx +++ b/web/src/pages/agent/share/index.tsx @@ -126,7 +126,7 @@ const ChatContainer = () => {
@@ -186,8 +186,8 @@ const ChatContainer = () => {
{isTaskMode || ( -
-
+
+
{ avatar={chatInfo.avatar} handleReset={removeAllMessagesExceptFirst} > -
+
@@ -109,8 +109,8 @@ const ChatContainer = () => {
-
-
+
+