WIP: scroll to chat proof of concept on mobile, #381.

This commit is contained in:
Miroslav Šedivý 2024-04-02 23:50:38 +02:00
parent d1f1be4e86
commit 1d5e159b74

View File

@ -120,22 +120,29 @@
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
#neko.expanded { html,
.neko-main { body {
transform: translateX(calc(-100% + 65px)); overflow-y: auto !important;
width: auto !important;
height: auto !important;
}
video { body > p {
display: none; display: none;
} }
#neko {
position: relative;
flex-direction: column;
max-height: initial !important;
.neko-main .video-container {
height: 100vh;
} }
.neko-menu { .neko-menu {
position: absolute; height: 100vh;
top: 0; width: 100% !important;
right: 0;
bottom: 0;
left: 65px;
width: calc(100% - 65px);
} }
} }
} }