make every second chat message display differently
This commit is contained in:
parent
ba3adfead6
commit
54c8f83123
|
@ -153,7 +153,7 @@ export default function chat(
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
if (messages[channel].length > MAX_CHAT_MESSAGES) {
|
if (messages[channel].length > MAX_CHAT_MESSAGES) {
|
||||||
messages[channel].shift();
|
messages[channel].splice(0, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -660,6 +660,14 @@ tr:nth-child(even) {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chatarea {
|
||||||
|
background-color: #393939;
|
||||||
|
}
|
||||||
|
.chatarea:nth-child(even) {
|
||||||
|
background-color: #4b4b4b;
|
||||||
|
}
|
||||||
|
|
||||||
.chatinput {
|
.chatinput {
|
||||||
height: 24px;
|
height: 24px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user