forked from rDrama/rDrama
1
0
Fork 0

orgy: increase chat window height

master
Aevann 2023-10-16 20:55:16 +03:00
parent d1fdd25b2f
commit 4d42107ed3
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
flex-flow: column wrap;
}
#chat-window {
max-height: 34vh !important;
max-height: 38vh !important;
}
}

View File

@ -14,7 +14,7 @@ function add_playing_listener() {
const created_utc = orgy_file.dataset.created_utc
orgy_file.currentTime = now - created_utc
if (screen_width < 768) {
const chat_window_height = innerHeight - orgy_file.offsetHeight - 211
const chat_window_height = innerHeight - orgy_file.offsetHeight - 186
document.getElementById('chat-window').setAttribute('style', `max-height: ${chat_window_height}px !important`)
}
}, {once : true});