mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #5587 from jellyfin-web/release-10.9.z
Fix square posters
Original-merge: 9e34ae8b42
Merged-by: thornbill <thornbill@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
d6130751e8
commit
5d606021ed
4 changed files with 9 additions and 9 deletions
|
@ -21,7 +21,7 @@ export function buildCardImage(
|
|||
shape = CardShape.Banner;
|
||||
} else if (item.PrimaryImageAspectRatio >= 1.33) {
|
||||
shape = CardShape.Backdrop;
|
||||
} else if (item.PrimaryImageAspectRatio > 0.71) {
|
||||
} else if (item.PrimaryImageAspectRatio > 0.8) {
|
||||
shape = CardShape.Square;
|
||||
} else {
|
||||
shape = CardShape.Portrait;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue