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) {
#neko.expanded {
.neko-main {
transform: translateX(calc(-100% + 65px));
html,
body {
overflow-y: auto !important;
width: auto !important;
height: auto !important;
}
video {
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;
}
}
}