mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix square posters
This commit is contained in:
parent
bb9b4ce8bb
commit
adb662eb0b
1 changed files with 1 additions and 1 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