Revert "more space for orgy on mobile"

This reverts commit 59f03dac70.
pull/226/head
Aevann 2024-04-29 08:23:08 +03:00
parent 45943c67c9
commit aeb4a01d84
3 changed files with 3 additions and 9 deletions

View File

@ -19,7 +19,7 @@
flex-flow: column wrap; flex-flow: column wrap;
} }
#chat-window { #chat-window {
max-height: 45.4vh !important; max-height: 34.5vh !important;
} }
} }
@ -92,9 +92,3 @@ body > .container {
#orgy-file-container > iframe { #orgy-file-container > iframe {
aspect-ratio: 16/9; 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 const created_utc = orgy_file.dataset.created_utc
orgy_file.currentTime = now - created_utc orgy_file.currentTime = now - created_utc
if (screen_width < 768) { 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`) document.getElementById('chat-window').setAttribute('style', `max-height: ${chat_window_height}px !important`)
} }
setTimeout(add_waiting_listener, 5000); setTimeout(add_waiting_listener, 5000);

View File

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