Backport pull request #4172 from jellyfin/release-10.8.z

Fix item details banner image alignment

Original-merge: ff4e6a6778402501c91d84ede13903b085aaae14

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
Bill Thornton 2022-11-29 13:41:43 -05:00 committed by Joshua M. Boniface
parent be3a46009c
commit 984bb82e52

View file

@ -565,7 +565,7 @@
.itemBackdrop { .itemBackdrop {
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center 0; background-position: center center;
background-attachment: fixed; background-attachment: fixed;
height: 40vh; height: 40vh;
position: relative; position: relative;
@ -573,6 +573,7 @@
.layout-mobile & { .layout-mobile & {
background-attachment: initial; background-attachment: initial;
background-position: top center;
margin-top: 3rem; margin-top: 3rem;
@media all and (orientation: portrait) and (max-width: 40em) { @media all and (orientation: portrait) and (max-width: 40em) {