Improved mobile scene album layout. Removed info channels from network children.

This commit is contained in:
DebaucheryLibrarian 2024-08-27 21:19:20 +02:00
parent ba47d25ab5
commit 5321b08f76
2 changed files with 6 additions and 2 deletions

View File

@ -873,8 +873,9 @@ function copySummary() {
@media(--small-10) { @media(--small-10) {
.banner { .banner {
flex-direction: column; flex-direction: column;
justify-content: center; align-items: center;
border-radius: 0; border-radius: 0;
max-height: none;
} }
.poster-container { .poster-container {
@ -898,8 +899,10 @@ function copySummary() {
.album { .album {
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
flex-shrink: 0;
overflow-x: auto; overflow-x: auto;
height: 8rem; height: 6rem;
padding: .5rem;
} }
.photo-container { .photo-container {

View File

@ -98,6 +98,7 @@ export async function fetchEntitiesById(entityIds, options = {}) {
.groupBy('entities.id', 'parents.id', 'affiliates.id'), .groupBy('entities.id', 'parents.id', 'affiliates.id'),
options.includeChildren ? knex('entities') options.includeChildren ? knex('entities')
.whereIn('entities.parent_id', entityIds) .whereIn('entities.parent_id', entityIds)
.whereNot('type', 'info')
.orderBy('slug') : [], .orderBy('slug') : [],
]); ]);