diff --git a/files/assets/css/orgy.css b/files/assets/css/orgy.css index 614c1b006..6dc12b215 100644 --- a/files/assets/css/orgy.css +++ b/files/assets/css/orgy.css @@ -19,7 +19,7 @@ flex-flow: column wrap; } #chat-window { - max-height: 45.4vh !important; + max-height: 34.5vh !important; } } @@ -92,9 +92,3 @@ body > .container { #orgy-file-container > iframe { aspect-ratio: 16/9; } - -@media (max-width: 768px) { - .has_header { - padding-top: 0 !important - } -} diff --git a/files/assets/js/orgy_file.js b/files/assets/js/orgy_file.js index bcf3b30cd..82d0becbc 100644 --- a/files/assets/js/orgy_file.js +++ b/files/assets/js/orgy_file.js @@ -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 - 128 + const chat_window_height = innerHeight - orgy_file.offsetHeight - 186 document.getElementById('chat-window').setAttribute('style', `max-height: ${chat_window_height}px !important`) } setTimeout(add_waiting_listener, 5000); diff --git a/files/templates/header.html b/files/templates/header.html index 6f7b6e3ad..bbaf863f6 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -3,7 +3,7 @@ {%- set search_placeholder = "Search (try 'hole:" ~ hole.name ~ "')" -%} {%- endif -%} -