From 83ebd01526d277f6995da61124e604741b082d5c Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Tue, 20 May 2025 17:55:49 +0200 Subject: [PATCH] ui: darkmode fixes for spot and highlights --- .../components/FilterSeries/ExcludeFilters.tsx | 2 +- .../Player/ClipPlayer/ClipPlayerContent.tsx | 15 +++++++++++++-- .../components/Spots/SpotsList/SpotListItem.tsx | 6 +++--- .../Spots/SpotsList/SpotsListHeader.tsx | 3 ++- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/frontend/app/components/Dashboard/components/FilterSeries/ExcludeFilters.tsx b/frontend/app/components/Dashboard/components/FilterSeries/ExcludeFilters.tsx index 532176702..10bcc278a 100644 --- a/frontend/app/components/Dashboard/components/FilterSeries/ExcludeFilters.tsx +++ b/frontend/app/components/Dashboard/components/FilterSeries/ExcludeFilters.tsx @@ -56,7 +56,7 @@ function ExcludeFilters(props: Props) { ))} ) : ( - )} diff --git a/frontend/app/components/Session/Player/ClipPlayer/ClipPlayerContent.tsx b/frontend/app/components/Session/Player/ClipPlayer/ClipPlayerContent.tsx index 6bc61da82..ddf267669 100644 --- a/frontend/app/components/Session/Player/ClipPlayer/ClipPlayerContent.tsx +++ b/frontend/app/components/Session/Player/ClipPlayer/ClipPlayerContent.tsx @@ -54,11 +54,22 @@ function ClipPlayerContent(props: Props) { if (!playerContext.player) return null; + const outerHeight = props.isHighlight ? 556 + 39 : 556; + const innerHeight = props.isHighlight ? 504 + 39 : 504; return (
-
+
diff --git a/frontend/app/components/Spots/SpotsList/SpotListItem.tsx b/frontend/app/components/Spots/SpotsList/SpotListItem.tsx index 04dc1dce6..a06a71404 100644 --- a/frontend/app/components/Spots/SpotsList/SpotListItem.tsx +++ b/frontend/app/components/Spots/SpotsList/SpotListItem.tsx @@ -148,14 +148,14 @@ function SpotListItem({
-
+
{spot.duration}
@@ -213,7 +213,7 @@ export function GridItem({ return (
{t('Clear')} -