mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-01 18:41:28 +08:00

### What problem does this PR solve? fix: thumbnails are too large in the chat box #818 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
54 lines
812 B
Plaintext
54 lines
812 B
Plaintext
.chatWrapper {
|
|
height: 100%;
|
|
}
|
|
|
|
.chatContainer {
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
.messageContainer {
|
|
overflow-y: auto;
|
|
padding-right: 6px;
|
|
}
|
|
}
|
|
|
|
.messageItem {
|
|
padding: 24px 0;
|
|
.messageItemSection {
|
|
display: inline-block;
|
|
}
|
|
.messageItemSectionLeft {
|
|
width: 70%;
|
|
}
|
|
.messageItemSectionRight {
|
|
width: 40%;
|
|
}
|
|
.messageItemContent {
|
|
display: inline-flex;
|
|
gap: 20px;
|
|
}
|
|
.messageItemContentReverse {
|
|
flex-direction: row-reverse;
|
|
}
|
|
.messageText {
|
|
.chunkText();
|
|
padding: 0 14px;
|
|
background-color: rgba(249, 250, 251, 1);
|
|
word-break: break-all;
|
|
}
|
|
.messageEmpty {
|
|
width: 300px;
|
|
}
|
|
.thumbnailImg {
|
|
max-width: 20px;
|
|
}
|
|
}
|
|
|
|
.messageItemLeft {
|
|
text-align: left;
|
|
}
|
|
|
|
.messageItemRight {
|
|
text-align: right;
|
|
}
|