From 25ccd941ca892fabb7318145ac8c6d1f64c7bb27 Mon Sep 17 00:00:00 2001 From: Max Ward Date: Sun, 19 Feb 2023 18:18:34 -0800 Subject: [PATCH] fix some hover states and rounding in edit mode --- src/components/layout/SectionHeading.tsx | 2 +- src/components/media/MediaCard.tsx | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/components/layout/SectionHeading.tsx b/src/components/layout/SectionHeading.tsx index 66723e28..e4d37dfc 100644 --- a/src/components/layout/SectionHeading.tsx +++ b/src/components/layout/SectionHeading.tsx @@ -11,7 +11,7 @@ interface SectionHeadingProps { export function SectionHeading(props: SectionHeadingProps) { return (
-
+

{props.icon ? ( diff --git a/src/components/media/MediaCard.tsx b/src/components/media/MediaCard.tsx index f4305eca..42f74181 100644 --- a/src/components/media/MediaCard.tsx +++ b/src/components/media/MediaCard.tsx @@ -45,14 +45,24 @@ function MediaCardContent({ }`} >

{series ? ( -
-

+

+

{t("seasons.seasonAndEpisode", { season: series.season, episode: series.episode, @@ -125,5 +135,9 @@ export function MediaCard(props: MediaCardProps) { )}`; if (!props.linkable) return {content}; - return {content}; + return ( + + {content} + + ); }