From 9ddba29b00e72e84f290f20348bd906e78e67624 Mon Sep 17 00:00:00 2001 From: swve Date: Thu, 27 Feb 2025 10:21:45 +0100 Subject: [PATCH] feat: Improve Video Activity Component Responsiveness and Styling --- .../Objects/Activities/Video/Video.tsx | 54 ++++++++++--------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/apps/web/components/Objects/Activities/Video/Video.tsx b/apps/web/components/Objects/Activities/Video/Video.tsx index e523f43b..2f8a707b 100644 --- a/apps/web/components/Objects/Activities/Video/Video.tsx +++ b/apps/web/components/Objects/Activities/Video/Video.tsx @@ -15,37 +15,41 @@ function VideoActivity({ activity, course }: { activity: any; course: any }) { }, [activity, org]) return ( -
+
{activity && ( <> {activity.activity_sub_type === 'SUBTYPE_VIDEO_HOSTED' && ( -
- +
+
+ +
)} {activity.activity_sub_type === 'SUBTYPE_VIDEO_YOUTUBE' && ( -
- +
+
+ +
)}