mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
fix images not scaling
This commit is contained in:
parent
1bf902d98b
commit
12be8e8abd
@ -33,11 +33,11 @@
|
||||
|
||||
switch (shape) {
|
||||
|
||||
case 'squareCard':
|
||||
case 'square':
|
||||
return 1;
|
||||
case 'backdropCard':
|
||||
case 'backdrop':
|
||||
return (16 / 9);
|
||||
case 'portraitCard':
|
||||
case 'portrait':
|
||||
return (2 / 3);
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user