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 {
|
||||
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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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%;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user