mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-03 10:53:59 +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)
73 lines
1.1 KiB
Plaintext
73 lines
1.1 KiB
Plaintext
.chatContainer {
|
|
padding: 0 0 24px 24px;
|
|
.messageContainer {
|
|
overflow-y: auto;
|
|
padding-right: 24px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
// .referenceIcon {
|
|
// padding: 0 6px;
|
|
// }
|
|
.thumbnailImg {
|
|
max-width: 20px;
|
|
}
|
|
}
|
|
|
|
.messageItemLeft {
|
|
text-align: left;
|
|
}
|
|
|
|
.messageItemRight {
|
|
text-align: right;
|
|
}
|
|
|
|
// .referencePopoverWrapper {
|
|
// max-width: 50vw;
|
|
// }
|
|
|
|
// .referenceChunkImage {
|
|
// width: 10vw;
|
|
// object-fit: contain;
|
|
// }
|
|
|
|
// .referenceImagePreview {
|
|
// max-width: 45vw;
|
|
// max-height: 45vh;
|
|
// }
|
|
// .chunkContentText {
|
|
// .chunkText;
|
|
// max-height: 45vh;
|
|
// overflow-y: auto;
|
|
// }
|
|
// .documentLink {
|
|
// padding: 0;
|
|
// }
|