mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
### What problem does this PR solve? Fix: Adjust chat line height. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
104 lines
1.6 KiB
Plaintext
104 lines
1.6 KiB
Plaintext
.markdownContentWrapper {
|
|
line-height: 1.8;
|
|
:global(details.think) {
|
|
padding-inline-start: 10px;
|
|
color: #8b8b8b;
|
|
border-inline-start: 2px solid #d5d3d3;
|
|
margin-bottom: 10px;
|
|
font-size: 12px;
|
|
|
|
summary {
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
color: #999;
|
|
user-select: none;
|
|
&:hover {
|
|
color: #666;
|
|
}
|
|
}
|
|
}
|
|
:global(details.retrieving) {
|
|
padding-inline-start: 10px;
|
|
color: #8b8b8b;
|
|
border-inline-start: 2px solid #a3d5c9;
|
|
margin-bottom: 10px;
|
|
font-size: 12px;
|
|
summary {
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
color: #6ba89a;
|
|
user-select: none;
|
|
&:hover {
|
|
color: #4a8a7c;
|
|
}
|
|
}
|
|
}
|
|
:global(blockquote) {
|
|
padding-inline-start: 10px;
|
|
border-inline-start: 4px solid #ccc;
|
|
}
|
|
|
|
// RTL Support
|
|
&[dir='rtl'] {
|
|
text-align: start;
|
|
}
|
|
}
|
|
|
|
.referencePopoverWrapper {
|
|
max-width: 50vw;
|
|
}
|
|
|
|
.referenceChunkImage {
|
|
width: 10vw;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.referenceInnerChunkImage {
|
|
display: block;
|
|
object-fit: contain;
|
|
max-width: 100%;
|
|
max-height: 10vh;
|
|
}
|
|
|
|
.referenceImagePreview {
|
|
max-width: 45vw;
|
|
max-height: 45vh;
|
|
}
|
|
.chunkContentText {
|
|
.chunkText;
|
|
max-height: 45vh;
|
|
overflow-y: auto;
|
|
}
|
|
.documentLink {
|
|
padding: 0;
|
|
}
|
|
|
|
.referenceIcon {
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.cursor {
|
|
display: inline-block;
|
|
width: 1px;
|
|
height: 16px;
|
|
background-color: black;
|
|
animation: blink 0.6s infinite;
|
|
vertical-align: text-top;
|
|
@keyframes blink {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.fileThumbnail {
|
|
display: inline-block;
|
|
max-width: 40px;
|
|
}
|