more space for orgy on mobile

master
Aevann 2024-04-29 07:13:19 +03:00
parent 76758346a7
commit 59f03dac70
3 changed files with 9 additions and 3 deletions

View File

@ -19,7 +19,7 @@
flex-flow: column wrap;
}
#chat-window {
max-height: 34.5vh !important;
max-height: 45.4vh !important;
}
}
@ -92,3 +92,9 @@ body > .container {
#orgy-file-container > iframe {
aspect-ratio: 16/9;
}
@media (max-width: 768px) {
.has_header {
padding-top: 0 !important
}
}

View File

@ -15,7 +15,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 - 186
const chat_window_height = innerHeight - orgy_file.offsetHeight - 128
document.getElementById('chat-window').setAttribute('style', `max-height: ${chat_window_height}px !important`)
}
setTimeout(add_waiting_listener, 5000);

View File

@ -3,7 +3,7 @@
{%- set search_placeholder = "Search (try 'hole:" ~ hole.name ~ "')" -%}
{%- endif -%}
<nav class="shadow-md fixed-top">
<nav class="shadow-md fixed-top {% if orgy %}d-mob-none{% endif %}">
<div class="srd">
{{calc_users()}}
{% if SITE_NAME == 'rDrama' %}