Improved channel and movie scaling. Added scroll handle to filter sidebar.

This commit is contained in:
2024-03-19 03:52:59 +01:00
parent 898b3693dd
commit 2981c8f0f7
4 changed files with 33 additions and 1 deletions

View File

@@ -261,4 +261,10 @@ function updateFilter(prop, value, reload = true) {
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
gap: .25rem;
}
@media(--small-40) {
.actors {
grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
}
}
</style>

View File

@@ -122,4 +122,16 @@ const sections = [
width: 100%;
object-fit: contain;
}
@media(--small-30) {
.networks {
grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
}
@media(--small-50) {
.networks {
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
}
</style>

View File

@@ -461,4 +461,10 @@ function updateFilter(prop, value, reload = true) {
grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}
}
@media(--small-50) {
.movies {
grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}
}
</style>