From c268a126dca706f4227ff968c397718251da9e0a Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 16 Aug 2024 08:38:41 -0600 Subject: [PATCH] Make review detail scrollable on mobile and ensure F+ is enabled (#13119) --- web/src/components/overlay/detail/ReviewDetailDialog.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/web/src/components/overlay/detail/ReviewDetailDialog.tsx b/web/src/components/overlay/detail/ReviewDetailDialog.tsx index e31b493f4..235ff88db 100644 --- a/web/src/components/overlay/detail/ReviewDetailDialog.tsx +++ b/web/src/components/overlay/detail/ReviewDetailDialog.tsx @@ -77,7 +77,7 @@ export default function ReviewDetailDialog({ {review && ( @@ -147,6 +147,7 @@ export default function ReviewDetailDialog({ "aspect-video select-none rounded-lg object-contain transition-opacity", event.has_snapshot && event.plus_id == undefined && + config?.plus.enabled && "cursor-pointer", )} style={ @@ -164,7 +165,11 @@ export default function ReviewDetailDialog({ : `${apiHost}api/events/${event.id}/thumbnail.jpg` } onClick={() => { - if (event.has_snapshot && event.plus_id == undefined) { + if ( + event.has_snapshot && + event.plus_id == undefined && + config?.plus.enabled + ) { setUpload(event); } }}