replace margins with padding in the chat container (#3165)

Virtuoso can't calculate the size of elements that have margins. This causes
strange behaviour with scrolling in chat.

Co-authored-by: janWilejan <>
This commit is contained in:
janWilejan
2023-07-11 20:07:58 +00:00
committed by GitHub
parent f6182229f5
commit 101174f71e
8 changed files with 46 additions and 33 deletions

View File

@@ -1,3 +1,8 @@
.chatSystemMessagePadding {
padding: 5px;
padding-bottom: 10px;
}
.chatSystemMessage {
background: var(--theme-color-background-main);
background: linear-gradient(
@@ -6,8 +11,6 @@
rgb(65 28 139) 40%,
rgb(71 50 133) 80%
);
margin: 5px;
margin-bottom: 10px;
border-radius: 5px;
border-width: 1px;
border-style: solid;