make every second chat message display differently

This commit is contained in:
HF 2022-02-09 22:31:58 +01:00
parent ba3adfead6
commit 54c8f83123
2 changed files with 9 additions and 1 deletions

View File

@ -153,7 +153,7 @@ export default function chat(
],
};
if (messages[channel].length > MAX_CHAT_MESSAGES) {
messages[channel].shift();
messages[channel].splice(0, 2);
}
/*

View File

@ -660,6 +660,14 @@ tr:nth-child(even) {
overflow-x: hidden;
overflow-y: scroll;
}
.chatarea {
background-color: #393939;
}
.chatarea:nth-child(even) {
background-color: #4b4b4b;
}
.chatinput {
height: 24px;
white-space: nowrap;