From 1d5e159b74e85c2907851906f4d8b6c373dac771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 2 Apr 2024 23:50:38 +0200 Subject: [PATCH] WIP: scroll to chat proof of concept on mobile, #381. --- client/src/app.vue | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/client/src/app.vue b/client/src/app.vue index 668e7a4..0d6ddd6 100644 --- a/client/src/app.vue +++ b/client/src/app.vue @@ -120,22 +120,29 @@ } @media only screen and (max-width: 600px) { - #neko.expanded { - .neko-main { - transform: translateX(calc(-100% + 65px)); + html, + body { + overflow-y: auto !important; + width: auto !important; + height: auto !important; + } - video { - display: none; - } + body > p { + display: none; + } + + #neko { + position: relative; + flex-direction: column; + max-height: initial !important; + + .neko-main .video-container { + height: 100vh; } .neko-menu { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 65px; - width: calc(100% - 65px); + height: 100vh; + width: 100% !important; } } }