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
6b3849d4fe
commit
464408e800
@ -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