mirror of https://github.com/Chocobozzz/PeerTube
Correctly fix menu overflow on mobile
This commit is contained in:
parent
133d9c112a
commit
c002261381
|
@ -254,17 +254,13 @@ menu {
|
||||||
@media screen and (max-width: $mobile-view) {
|
@media screen and (max-width: $mobile-view) {
|
||||||
.menu-wrapper {
|
.menu-wrapper {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
|
||||||
|
menu {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-menu, .footer {
|
.top-menu, .footer {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (hover: none) and (pointer: coarse) {
|
|
||||||
.menu-wrapper {
|
|
||||||
menu {
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue