mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-28 18:06:20 +02:00
WIP: scroll to chat proof of concept on mobile, #381.
This commit is contained in:
parent
a2ba96632c
commit
0adebf8f7e
1 changed files with 19 additions and 12 deletions
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue