From a8efa5a431e3c49d819e92bb9050fb8333b77d90 Mon Sep 17 00:00:00 2001 From: Aj - Thomas Date: Fri, 6 May 2022 18:26:47 +0200 Subject: [PATCH] Styling fixes --- components/calendar/CalendarComponent.tsx | 15 ++++++++++++--- components/calendar/MediaDisplay.tsx | 17 ++--------------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/components/calendar/CalendarComponent.tsx b/components/calendar/CalendarComponent.tsx index 78135e511..0efa18064 100644 --- a/components/calendar/CalendarComponent.tsx +++ b/components/calendar/CalendarComponent.tsx @@ -89,7 +89,13 @@ function DayComponent(props: any) { {/* TODO: #6 Make the color of the indicator dependant on the type of medias avilable */} <> {radarrFiltered.length > 0 && ( - + )} {sonarrFiltered.length > 0 && ( @@ -99,11 +105,14 @@ function DayComponent(props: any) { width={700} onClose={() => setOpened(false)} opened={opened} - target={day} + // TODO: Fix this !! WTF ? + target={`‏ ${day}`} > {sonarrFiltered.length > 0 && } - {(radarrFiltered.length > 0 && sonarrFiltered.length > 0) && } + {radarrFiltered.length > 0 && sonarrFiltered.length > 0 && ( + + )} {radarrFiltered.length > 0 && } diff --git a/components/calendar/MediaDisplay.tsx b/components/calendar/MediaDisplay.tsx index 6f3be4186..5c6a5c2bc 100644 --- a/components/calendar/MediaDisplay.tsx +++ b/components/calendar/MediaDisplay.tsx @@ -17,14 +17,7 @@ export function RadarrMediaDisplay(props: any) { // Return a movie poster containting the title and the description return ( - {media.title} + {media.title} ({ @@ -60,13 +53,7 @@ export function SonarrMediaDisplay(props: any) { // Return a movie poster containting the title and the description return ( - {media.series.title} + {media.series.title} ({