style(chat): widen conversation content area from 800px to 960px
Improve readability on wide screens by expanding the main chat column and aligning related sub-component widths.
This commit is contained in:
@@ -2744,7 +2744,7 @@ const getImgSrc = (url: string) => {
|
|||||||
.rich-input-container {
|
.rich-input-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 800px;
|
max-width: 960px;
|
||||||
background: var(--td-bg-color-container, #FFF);
|
background: var(--td-bg-color-container, #FFF);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
border: 1px solid var(--td-component-stroke, #dcdcdc);
|
border: 1px solid var(--td-component-stroke, #dcdcdc);
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ const dismiss = () => {
|
|||||||
|
|
||||||
.follow-ups {
|
.follow-ups {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 600px;
|
max-width: 720px;
|
||||||
margin: -4px 0 28px;
|
margin: -4px 0 28px;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 12px 16px 12px;
|
padding: 12px 16px 12px;
|
||||||
max-width: 720px;
|
max-width: 860px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
|||||||
@@ -623,7 +623,7 @@ watch(thinkingExpanded, (expanded) => {
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: var(--td-text-color-secondary);
|
color: var(--td-text-color-secondary);
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
max-width: min(680px, 100%);
|
max-width: min(820px, 100%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ const closePreImg = () => {
|
|||||||
|
|
||||||
.user_msg {
|
.user_msg {
|
||||||
width: max-content;
|
width: max-content;
|
||||||
max-width: min(76%, 680px);
|
max-width: min(76%, 820px);
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@@ -1185,7 +1185,7 @@ onBeforeRouteUpdate((to, from, next) => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
max-width: 800px;
|
max-width: 960px;
|
||||||
padding: 16px 0;
|
padding: 16px 0;
|
||||||
animation: contentFadeIn 0.3s ease-out;
|
animation: contentFadeIn 0.3s ease-out;
|
||||||
}
|
}
|
||||||
@@ -1207,7 +1207,7 @@ onBeforeRouteUpdate((to, from, next) => {
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 800px;
|
max-width: 960px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
@@ -1226,7 +1226,7 @@ onBeforeRouteUpdate((to, from, next) => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
max-width: 800px;
|
max-width: 960px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ const handleKBEditorSuccess = (kbId: string) => {
|
|||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 800px;
|
max-width: 960px;
|
||||||
gap: 24px;
|
gap: 24px;
|
||||||
|
|
||||||
:deep(.answers-input) {
|
:deep(.answers-input) {
|
||||||
@@ -305,7 +305,7 @@ const handleKBEditorSuccess = (kbId: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.suggested-questions-container {
|
.suggested-questions-container {
|
||||||
max-width: 800px;
|
max-width: 960px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
transition: height 0.35s @suggested-ease;
|
transition: height 0.35s @suggested-ease;
|
||||||
|
|||||||
Reference in New Issue
Block a user