mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
WIP: scroll to chat proof of concept on mobile, #381.
This commit is contained in:
parent
d1f1be4e86
commit
1d5e159b74
@ -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…
Reference in New Issue
Block a user