From fec288bba343c037054d14aed926280ec3a8b5a8 Mon Sep 17 00:00:00 2001 From: Harshith Mohan Date: Thu, 21 Sep 2023 21:25:36 +0530 Subject: [PATCH] Fix BackgroundImagePlaceholderDiv to work properly in Safari (#645) --- src/components/BackgroundImagePlaceholderDiv.tsx | 2 +- src/components/Collection/CardViewItem.tsx | 2 +- src/components/Collection/GridViewItem.tsx | 2 +- src/components/Collection/Series/SeriesEpisode.tsx | 2 +- src/pages/collection/series/SeriesImages.tsx | 2 +- src/pages/collection/series/SeriesOverview.tsx | 2 +- src/pages/dashboard/components/EpisodeDetails.tsx | 2 +- src/pages/dashboard/components/SeriesDetails.tsx | 2 +- src/pages/dashboard/panels/RecommendedAnime.tsx | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/BackgroundImagePlaceholderDiv.tsx b/src/components/BackgroundImagePlaceholderDiv.tsx index d33a247f3..9a38f3cf7 100644 --- a/src/components/BackgroundImagePlaceholderDiv.tsx +++ b/src/components/BackgroundImagePlaceholderDiv.tsx @@ -72,7 +72,7 @@ function BackgroundImagePlaceholderDiv(props: Props) { }, [imageSource]); return ( -
+
diff --git a/src/components/Collection/GridViewItem.tsx b/src/components/Collection/GridViewItem.tsx index 82891aa0b..d3a023190 100644 --- a/src/components/Collection/GridViewItem.tsx +++ b/src/components/Collection/GridViewItem.tsx @@ -47,7 +47,7 @@ const GridViewItem = ({ isSeries = false, item }: Props) => {
diff --git a/src/components/Collection/Series/SeriesEpisode.tsx b/src/components/Collection/Series/SeriesEpisode.tsx index 2a24690dc..3cc3f583a 100644 --- a/src/components/Collection/Series/SeriesEpisode.tsx +++ b/src/components/Collection/Series/SeriesEpisode.tsx @@ -62,7 +62,7 @@ const SeriesEpisode = ({ episode }: Props) => {
diff --git a/src/pages/collection/series/SeriesImages.tsx b/src/pages/collection/series/SeriesImages.tsx index 875ff935b..18a2fc68e 100644 --- a/src/pages/collection/series/SeriesImages.tsx +++ b/src/pages/collection/series/SeriesImages.tsx @@ -124,7 +124,7 @@ const SeriesImages = () => { {
diff --git a/src/pages/dashboard/components/EpisodeDetails.tsx b/src/pages/dashboard/components/EpisodeDetails.tsx index 93b9a0079..36227505c 100644 --- a/src/pages/dashboard/components/EpisodeDetails.tsx +++ b/src/pages/dashboard/components/EpisodeDetails.tsx @@ -51,7 +51,7 @@ function EpisodeDetails(props: Props): JSX.Element { : null} {percentage &&
} {isInCollection && ( diff --git a/src/pages/dashboard/components/SeriesDetails.tsx b/src/pages/dashboard/components/SeriesDetails.tsx index 223675a14..15504657d 100644 --- a/src/pages/dashboard/components/SeriesDetails.tsx +++ b/src/pages/dashboard/components/SeriesDetails.tsx @@ -13,7 +13,7 @@ function SeriesDetails(props: { series: SeriesType }): JSX.Element {

{series.Name}

diff --git a/src/pages/dashboard/panels/RecommendedAnime.tsx b/src/pages/dashboard/panels/RecommendedAnime.tsx index 3dbcd9fb8..bcf1dc531 100644 --- a/src/pages/dashboard/panels/RecommendedAnime.tsx +++ b/src/pages/dashboard/panels/RecommendedAnime.tsx @@ -19,7 +19,7 @@ const RecommendedAnime = () => {