Merge branch 'main' into DevelopCkutls

This commit is contained in:
Kostya
2024-01-26 15:51:04 +03:00
5 changed files with 30 additions and 23 deletions

View File

@@ -23,15 +23,20 @@
font-weight: 700;
}
.content p {
/* .content p {
width: 80%;
word-wrap: break-word;
margin: 0 auto;
}
} */
.content p {
word-wrap: break-word;
overflow-wrap: break-word;
}
.chat__content--users {
height: 650px;
width: 250px;
width: auto;
overflow-y: auto;
overflow-x: auto;
}

View File

@@ -38,9 +38,13 @@ export function ConnectToChat() {
export function SendMessageToChat(message) {
try {
if (!GetCookie("SpUserName") && !GetCookie("AUTHTOKEN") && !GetCookie("SearchToken")) {
return;
}
const data = {
SpUserName: GetCookie("SpUserName"),
SearchToken: GetCookie("SearchToken"),
Message: message
};