1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix playlist deletion

This commit is contained in:
Luke Pulverenti 2016-10-13 14:43:47 -04:00
parent 25190fbcec
commit 793cf35f42
4 changed files with 45 additions and 25 deletions

View file

@ -144,28 +144,31 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
return 1;
case 'overflowPortrait':
if (screenWidth >= 1000) {
return 100 / 23;
return 100 / 22;
}
if (screenWidth >= 640) {
return 100 / 36;
if (screenWidth >= 540) {
return 100 / 30;
}
return 2.5;
return 100 / 40;
case 'overflowSquare':
if (screenWidth >= 1000) {
return 100 / 22;
}
if (screenWidth >= 640) {
if (screenWidth >= 540) {
return 100 / 30;
}
return 100 / 42;
return 100 / 40;
case 'overflowBackdrop':
if (screenWidth >= 1000) {
return 100 / 40;
}
if (screenWidth >= 640) {
return 100 / 60;
return 100 / 56;
}
return 100 / 84;
if (screenWidth >= 540) {
return 100 / 64;
}
return 100 / 70;
default:
return 4;
}