mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-02 14:17:19 +02:00
Remove extraneous height from movie posters
This commit is contained in:
parent
a47528aa81
commit
7532dfb03c
@ -151,12 +151,9 @@ export default function MovieIndexPosters(props: MovieIndexPostersProps) {
|
|||||||
showTags,
|
showTags,
|
||||||
} = posterOptions;
|
} = posterOptions;
|
||||||
|
|
||||||
const nextAiringHeight = 19;
|
|
||||||
|
|
||||||
const heights = [
|
const heights = [
|
||||||
posterHeight,
|
posterHeight,
|
||||||
detailedProgressBar ? detailedProgressBarHeight : progressBarHeight,
|
detailedProgressBar ? detailedProgressBarHeight : progressBarHeight,
|
||||||
nextAiringHeight,
|
|
||||||
isSmallScreen ? columnPaddingSmallScreen : columnPadding,
|
isSmallScreen ? columnPaddingSmallScreen : columnPadding,
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -223,13 +220,13 @@ export default function MovieIndexPosters(props: MovieIndexPostersProps) {
|
|||||||
heights.push(19);
|
heights.push(19);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'imdbRating':
|
case 'tmdbRating':
|
||||||
if (!showImdbRating) {
|
if (!showTmdbRating) {
|
||||||
heights.push(19);
|
heights.push(19);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'tmdbRating':
|
case 'imdbRating':
|
||||||
if (!showTmdbRating) {
|
if (!showImdbRating) {
|
||||||
heights.push(19);
|
heights.push(19);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user