set fixed article height

This commit is contained in:
hyperbel 2023-10-30 00:23:40 +01:00
parent a5477a56a8
commit d3f7e26521
2 changed files with 1 additions and 6 deletions

View File

@ -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 {

View File

@ -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;
});
}