1
0
Fork 0
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:
scampower3 2024-05-25 11:50:46 -04:00 committed by Joshua M. Boniface
parent d6130751e8
commit 5d606021ed
4 changed files with 9 additions and 9 deletions

View file

@ -60,7 +60,7 @@ export const resolveMixedShapeByAspectRatio = (primaryImageAspectRatio: number |
if (primaryImageAspectRatio >= 1.33) {
return CardShape.MixedBackdrop;
} else if (primaryImageAspectRatio > 0.71) {
} else if (primaryImageAspectRatio > 0.8) {
return CardShape.MixedSquare;
} else {
return CardShape.MixedPortrait;