Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

style(chat): widen conversation content area from 800px to 960px

wizardchen457285cffef8
diff --git a/frontend/src/components/Input-field.vue b/frontend/src/components/Input-field.vue
index d08501a62..ea4c92fa9 100644
--- a/frontend/src/components/Input-field.vue
+++ b/frontend/src/components/Input-field.vue
@@ -2744,7 +2744,7 @@ const getImgSrc = (url: string) => {
.rich-input-container {
position: relative;
width: 100%;
- max-width: 800px;
+ max-width: 960px;
background: var(--td-bg-color-container, #FFF);
border-radius: 12px;
border: 1px solid var(--td-component-stroke, #dcdcdc);
diff --git a/frontend/src/components/chat/FollowUpSuggestions.vue b/frontend/src/components/chat/FollowUpSuggestions.vue
index b74f0d1ef..54caf02f0 100644
--- a/frontend/src/components/chat/FollowUpSuggestions.vue
+++ b/frontend/src/components/chat/FollowUpSuggestions.vue
@@ -67,7 +67,7 @@ const dismiss = () => {
.follow-ups {
width: 100%;
- max-width: 600px;
+ max-width: 720px;
margin: -4px 0 28px;
margin-right: auto;
padding: 12px;
diff --git a/frontend/src/components/css/suggested-questions.less b/frontend/src/components/css/suggested-questions.less
index 13dbadcbf..e768d9c4f 100644
--- a/frontend/src/components/css/suggested-questions.less
+++ b/frontend/src/components/css/suggested-questions.less
@@ -17,7 +17,7 @@
flex-direction: column;
align-items: center;
padding: 12px 16px 12px;
- max-width: 720px;
+ max-width: 860px;
margin: 0 auto;
width: 100%;
min-height: 0;
diff --git a/frontend/src/views/chat/components/RagPipelineProgress.vue b/frontend/src/views/chat/components/RagPipelineProgress.vue
index 1f7043448..e642459a2 100644
--- a/frontend/src/views/chat/components/RagPipelineProgress.vue
+++ b/frontend/src/views/chat/components/RagPipelineProgress.vue
@@ -623,7 +623,7 @@ watch(thinkingExpanded, (expanded) => {
font-weight: 400;
color: var(--td-text-color-secondary);
word-break: break-word;
- max-width: min(680px, 100%);
+ max-width: min(820px, 100%);
}
}
diff --git a/frontend/src/views/chat/components/usermsg.vue b/frontend/src/views/chat/components/usermsg.vue
index 979b6b84b..6dd0f2e44 100644
--- a/frontend/src/views/chat/components/usermsg.vue
+++ b/frontend/src/views/chat/components/usermsg.vue
@@ -212,7 +212,7 @@ const closePreImg = () => {
.user_msg {
width: max-content;
- max-width: min(76%, 680px);
+ max-width: min(76%, 820px);
display: flex;
padding: 8px 12px;
flex-direction: column;
diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue
index 994480c35..93041930a 100644
--- a/frontend/src/views/chat/index.vue
+++ b/frontend/src/views/chat/index.vue
@@ -1185,7 +1185,7 @@ onBeforeRouteUpdate((to, from, next) => {
display: flex;
flex-direction: column;
gap: 20px;
- max-width: 800px;
+ max-width: 960px;
padding: 16px 0;
animation: contentFadeIn 0.3s ease-out;
}
@@ -1207,7 +1207,7 @@ onBeforeRouteUpdate((to, from, next) => {
flex-shrink: 0;
margin: 0 auto;
width: 100%;
- max-width: 800px;
+ max-width: 960px;
box-sizing: border-box;
position: relative;
@@ -1226,7 +1226,7 @@ onBeforeRouteUpdate((to, from, next) => {
display: flex;
flex-direction: column;
gap: 16px;
- max-width: 800px;
+ max-width: 960px;
flex: 1;
margin: 0 auto;
width: 100%;
diff --git a/frontend/src/views/creatChat/creatChat.vue b/frontend/src/views/creatChat/creatChat.vue
index 4aae201d5..dc99f2af7 100644
--- a/frontend/src/views/creatChat/creatChat.vue
+++ b/frontend/src/views/creatChat/creatChat.vue
@@ -256,7 +256,7 @@ const handleKBEditorSuccess = (kbId: string) => {
flex-flow: column;
align-items: center;
width: 100%;
- max-width: 800px;
+ max-width: 960px;
gap: 24px;
:deep(.answers-input) {
@@ -305,7 +305,7 @@ const handleKBEditorSuccess = (kbId: string) => {
}
.suggested-questions-container {
- max-width: 800px;
+ max-width: 960px;
margin: 0;
padding: 0 16px;
transition: height 0.35s @suggested-ease;