Skip to content

Commit

Permalink
Merge pull request #5620 from vdubuisson/fix/tv-detailLogo
Browse files Browse the repository at this point in the history
Allow to display detailLogo on TV with CSS customization
  • Loading branch information
thornbill authored Jul 26, 2024
2 parents 4013583 + 10f599a commit 08bbcb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/controllers/itemDetails/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,9 @@ function reloadFromItem(instance, page, params, item, user) {

// Start rendering the artwork first
renderImage(page, item, apiClient);
// Save some screen real estate in TV mode
if (!layoutManager.tv) {
renderLogo(page, item, apiClient);
}

renderLogo(page, item, apiClient);

// Render the mobile header backdrop
if (layoutManager.mobile) {
renderHeaderBackdrop(page, item, apiClient);
Expand Down
7 changes: 5 additions & 2 deletions src/styles/librarybrowser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -921,8 +921,11 @@
position: relative;
}

.layout-mobile .detailLogo {
display: none;
.layout-mobile,
.layout-tv {
.detailLogo {
display: none;
}
}

@media all and (max-width: 68.75em) {
Expand Down

0 comments on commit 08bbcb0

Please sign in to comment.