mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 03:22:11 +00:00
change details layout on mobile
This commit is contained in:
parent
6fd703a6a4
commit
b42e09d95d
3 changed files with 24 additions and 3 deletions
|
|
@ -78,6 +78,8 @@
|
||||||
|
|
||||||
@media only screen and (max-width: @minimum) {
|
@media only screen and (max-width: @minimum) {
|
||||||
.streams-list-container {
|
.streams-list-container {
|
||||||
|
overflow: visible;
|
||||||
|
|
||||||
.streams-container {
|
.streams-container {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
scrollbar-color: @color-surface-light5-20 transparent;
|
scrollbar-color: @color-surface-light5-20 transparent;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
// Copyright (C) 2017-2022 Smart code 203358507
|
// Copyright (C) 2017-2022 Smart code 203358507
|
||||||
|
|
||||||
@import (reference) '~@stremio/stremio-colors/less/stremio-colors.less';
|
@import (reference) '~@stremio/stremio-colors/less/stremio-colors.less';
|
||||||
|
@import (reference) '~stremio/common/screen-sizes.less';
|
||||||
|
|
||||||
.videos-list-container {
|
.videos-list-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -54,4 +55,10 @@
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: @minimum) {
|
||||||
|
.videos-list-container {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -129,12 +129,24 @@
|
||||||
|
|
||||||
@media only screen and (max-width: @minimum) {
|
@media only screen and (max-width: @minimum) {
|
||||||
.metadetails-container {
|
.metadetails-container {
|
||||||
|
position: relative;
|
||||||
|
z-index: 0;
|
||||||
|
|
||||||
.metadetails-content {
|
.metadetails-content {
|
||||||
flex-direction: column;
|
display: block;
|
||||||
|
position: static;
|
||||||
|
z-index: initial;
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
|
.spacing {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.background-image-layer {
|
||||||
|
top: var(--horizontal-nav-bar-size);
|
||||||
|
}
|
||||||
|
|
||||||
.videos-list, .streams-list {
|
.videos-list, .streams-list {
|
||||||
flex-basis: auto;
|
|
||||||
max-height: 50vh;
|
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue