mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
resolve AVG false positives
This commit is contained in:
parent
1531e0b85c
commit
fed61f8544
3 changed files with 29 additions and 27 deletions
|
@ -372,10 +372,6 @@
|
||||||
.smallBackdropCard {
|
.smallBackdropCard {
|
||||||
width: 12.5%;
|
width: 12.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.backdropCard {
|
|
||||||
width: 20%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -385,10 +381,6 @@
|
||||||
width: 12.5%;
|
width: 12.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.portraitCard {
|
|
||||||
width: 10%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.smallBackdropCard {
|
.smallBackdropCard {
|
||||||
width: 10%;
|
width: 10%;
|
||||||
}
|
}
|
||||||
|
@ -399,6 +391,14 @@
|
||||||
.squareCard {
|
.squareCard {
|
||||||
width: 11.111111111111111111111111111111%;
|
width: 11.111111111111111111111111111111%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.backdropCard {
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portraitCard {
|
||||||
|
width: 11.111111111111111111111111111111%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 2200px) {
|
@media all and (min-width: 2200px) {
|
||||||
|
@ -407,13 +407,20 @@
|
||||||
width: 10%;
|
width: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.backdropCard {
|
|
||||||
width: 16.666666666666666666666666666667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bannerCard {
|
.bannerCard {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.portraitCard {
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 2500px) {
|
||||||
|
|
||||||
|
.backdropCard {
|
||||||
|
width: 16.666666666666666666666666666667%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -511,24 +518,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 700px) {
|
@media all and (min-width: 1600px) {
|
||||||
|
|
||||||
.homePageSmallBackdropCard {
|
|
||||||
width: 20%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media all and (min-width: 1000px) {
|
|
||||||
|
|
||||||
.homePageSmallBackdropCard {
|
.homePageSmallBackdropCard {
|
||||||
width: 16.666666666666666666666666666667%;
|
width: 16.666666666666666666666666666667%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 1600px) {
|
@media all and (min-width: 1920px) {
|
||||||
|
|
||||||
.homePageSmallBackdropCard {
|
.homePageSmallBackdropCard {
|
||||||
width: 12.5%;
|
width: 14.285714285714285714285714285714%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -307,11 +307,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.channelHeaderCell, .channelTimeslotHeader {
|
.channelHeaderCell, .channelTimeslotHeader {
|
||||||
width: 94px;
|
width: 98px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.programGrid, .timeslotHeaders {
|
.programGrid, .timeslotHeaders {
|
||||||
margin-left: 95px;
|
margin-left: 99px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.currentDay {
|
.currentDay {
|
||||||
|
@ -340,7 +340,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.channelTimeslotHeader i {
|
.channelTimeslotHeader i {
|
||||||
margin-right: 2px !important;
|
margin-right: 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.channelTimeslotHeader .timeslotHeaderInner {
|
.channelTimeslotHeader .timeslotHeaderInner {
|
||||||
|
|
|
@ -426,12 +426,14 @@
|
||||||
|
|
||||||
(function ($, document) {
|
(function ($, document) {
|
||||||
|
|
||||||
|
var defaultFirstSection = 'smalllibrarytiles-automobile';
|
||||||
|
|
||||||
function getDefaultSection(index) {
|
function getDefaultSection(index) {
|
||||||
|
|
||||||
switch (index) {
|
switch (index) {
|
||||||
|
|
||||||
case 0:
|
case 0:
|
||||||
return 'librarytiles-automobile';
|
return defaultFirstSection;
|
||||||
case 1:
|
case 1:
|
||||||
return 'resume';
|
return 'resume';
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -451,7 +453,7 @@
|
||||||
var section = displayPreferences.CustomPrefs['home' + index] || getDefaultSection(index);
|
var section = displayPreferences.CustomPrefs['home' + index] || getDefaultSection(index);
|
||||||
|
|
||||||
if (section == 'folders') {
|
if (section == 'folders') {
|
||||||
section = 'librarytiles-automobile';
|
section = defaultFirstSection;
|
||||||
}
|
}
|
||||||
|
|
||||||
var showLibraryTileNames = displayPreferences.CustomPrefs.enableLibraryTileNames != '0';
|
var showLibraryTileNames = displayPreferences.CustomPrefs.enableLibraryTileNames != '0';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue