Fix text overflow in chat and instruct mode (#1044)
This commit is contained in:
parent
dc3c9d00a0
commit
e9e93189ff
2 changed files with 19 additions and 1 deletions
|
@ -7,6 +7,8 @@
|
|||
padding-right: 20px;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
word-break: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.message {
|
||||
|
@ -37,6 +39,13 @@
|
|||
display: inline !important;
|
||||
}
|
||||
|
||||
.message-body code {
|
||||
overflow-x: auto;
|
||||
}
|
||||
.message-body :not(pre) > code {
|
||||
white-space: normal !important;
|
||||
}
|
||||
|
||||
.dark .message-body p em {
|
||||
color: rgb(138, 138, 138) !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue