mirror of
https://github.com/lucaspalomodevelop/Party.git
synced 2026-03-13 00:07:21 +00:00
set fixed article height
This commit is contained in:
parent
a5477a56a8
commit
d3f7e26521
@ -349,11 +349,6 @@ cursor: pointer;
|
||||
|
||||
/* Chat */
|
||||
|
||||
#chatBox {
|
||||
border-top:
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.chat-message {
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
@ -606,6 +601,7 @@ article {
|
||||
background-color: #333;
|
||||
border-radius: 10px;
|
||||
padding: 2%;
|
||||
height: 60%;
|
||||
}
|
||||
|
||||
#home_button + label {
|
||||
|
||||
@ -13,7 +13,6 @@ function getNChatMessages(socket, count, skip) {
|
||||
const chatBox = document.getElementById('chatBox');
|
||||
message_array.forEach(message => chatBox.appendChild(message))
|
||||
|
||||
chatBox.style.overflow = 'auto';
|
||||
chatBox.scrollTop = chatBox.scrollHeight;
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user