feat(chat): support line breaks and pasted content. Closes #3108

This commit is contained in:
Gabe Kangas
2023-06-27 14:45:45 -07:00
parent bd6e263eb9
commit a354787a9e
7 changed files with 239 additions and 92 deletions

View File

@@ -8,6 +8,12 @@ $p-v-size: 2px;
z-index: 100;
}
// Chat messages are wrapped in <p> tags. We don't want to render
// the default margins for these initial <p> tags, so we remove them here.
p:nth-of-type(1) {
margin: initial;
}
border-left: $border-style;
position: relative;
font-size: var(--chat-message-text-size);