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:
parent
25190fbcec
commit
793cf35f42
4 changed files with 45 additions and 25 deletions
|
@ -416,12 +416,13 @@ button {
|
|||
}
|
||||
|
||||
.overflowBackdropCard-scalable {
|
||||
width: 80%;
|
||||
width: 70%;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.overflowSquareCard-scalable {
|
||||
width: 42%;
|
||||
width: 40%;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
@media all and (min-width: 420px) {
|
||||
|
@ -442,22 +443,29 @@ button {
|
|||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 540px) {
|
||||
|
||||
.overflowPortraitCard-scalable {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.overflowBackdropCard-scalable {
|
||||
width: 64%;
|
||||
}
|
||||
|
||||
.overflowSquareCard-scalable {
|
||||
width: 30%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 640px) {
|
||||
|
||||
.portraitCard-scalable {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.overflowPortraitCard-scalable {
|
||||
width: 36%;
|
||||
}
|
||||
|
||||
.overflowBackdropCard-scalable {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.overflowSquareCard-scalable {
|
||||
width: 30%;
|
||||
width: 56%;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -504,7 +512,7 @@ button {
|
|||
}
|
||||
|
||||
.overflowPortraitCard-scalable {
|
||||
width: 23%;
|
||||
width: 22%;
|
||||
}
|
||||
|
||||
.overflowBackdropCard-scalable {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue