fix: preserve Markdown blocks when copying messages (#2944)
* fix: preserve Markdown blocks when copying messages * fix: preserve blank lines when copying code --------- Co-authored-by: Iuliia Ivashko <yulia.ivashko@gmail.com>
This commit is contained in:
committed by
GitHub
co-authored by
Iuliia Ivashko
parent
2a1c10cb3e
commit
7aae5a6634
@@ -1432,6 +1432,10 @@ html:not(.dark) .chat-scroll {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.markdown-content [data-md-code-line-number]::before {
|
||||
content: attr(data-md-code-line-number);
|
||||
}
|
||||
|
||||
.markdown-content [data-md-code-line-content] {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user