fix overflow x
This commit is contained in:
@@ -173,8 +173,10 @@ defineExpose({
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: .5rem 1rem calc(6rem + env(safe-area-inset-bottom, 0px));
|
padding: .5rem 1rem calc(6rem + env(safe-area-inset-bottom, 0px));
|
||||||
|
min-width: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.list-state {
|
.list-state {
|
||||||
@@ -193,6 +195,7 @@ defineExpose({
|
|||||||
gap: .5rem;
|
gap: .5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
@@ -235,6 +238,7 @@ defineExpose({
|
|||||||
|
|
||||||
.message-main {
|
.message-main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -252,6 +256,9 @@ defineExpose({
|
|||||||
color: var(--td-text-color-primary);
|
color: var(--td-text-color-primary);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: .75rem;
|
padding: .75rem;
|
||||||
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
border-radius: .25rem 1rem 1rem 1rem;
|
border-radius: .25rem 1rem 1rem 1rem;
|
||||||
background: var(--ai-chat-bubble, #f5f6f8);
|
background: var(--ai-chat-bubble, #f5f6f8);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@@ -279,9 +286,19 @@ defineExpose({
|
|||||||
|
|
||||||
:deep(.tui-markdown-view) {
|
:deep(.tui-markdown-view) {
|
||||||
width: auto;
|
width: auto;
|
||||||
|
max-width: 100%;
|
||||||
font-size: .875rem;
|
font-size: .875rem;
|
||||||
line-height: 1.65;
|
line-height: 1.65;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.tui-markdown-view pre),
|
||||||
|
:deep(.tui-markdown-view code) {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-break: break-word;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -176,6 +176,7 @@ defineExpose({
|
|||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
min-width: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
background: var(--ai-chat-background);
|
background: var(--ai-chat-background);
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user