From 7532dfb03c5259c61c1136cfa2ff5185cc0ffd3f Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 25 Aug 2024 09:08:54 +0300 Subject: [PATCH] Remove extraneous height from movie posters --- .../src/Movie/Index/Posters/MovieIndexPosters.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/frontend/src/Movie/Index/Posters/MovieIndexPosters.tsx b/frontend/src/Movie/Index/Posters/MovieIndexPosters.tsx index 3475e0b2b..e8ca631fe 100644 --- a/frontend/src/Movie/Index/Posters/MovieIndexPosters.tsx +++ b/frontend/src/Movie/Index/Posters/MovieIndexPosters.tsx @@ -151,12 +151,9 @@ export default function MovieIndexPosters(props: MovieIndexPostersProps) { showTags, } = posterOptions; - const nextAiringHeight = 19; - const heights = [ posterHeight, detailedProgressBar ? detailedProgressBarHeight : progressBarHeight, - nextAiringHeight, isSmallScreen ? columnPaddingSmallScreen : columnPadding, ]; @@ -223,13 +220,13 @@ export default function MovieIndexPosters(props: MovieIndexPostersProps) { heights.push(19); } break; - case 'imdbRating': - if (!showImdbRating) { + case 'tmdbRating': + if (!showTmdbRating) { heights.push(19); } break; - case 'tmdbRating': - if (!showTmdbRating) { + case 'imdbRating': + if (!showImdbRating) { heights.push(19); } break;