From a0e8ce6cbf0d2ded7b0798002d394aa91081d4a9 Mon Sep 17 00:00:00 2001 From: IrohDW Date: Wed, 31 Jul 2024 14:18:26 -0600 Subject: [PATCH] Layout of VideoContent.tsx and PlaylistContent.tsx changed to maximize Video Player size while maintaining aspect ratio. Forced aspect ratio of videos to 16 / 9 --- src/components/Playlists/Playlists.tsx | 2 +- .../PlaylistContent/PlaylistContent.tsx | 38 ++++++++++++------- .../VideoContent/VideoContent.tsx | 29 +++++++++----- 3 files changed, 45 insertions(+), 24 deletions(-) diff --git a/src/components/Playlists/Playlists.tsx b/src/components/Playlists/Playlists.tsx index 71e924f..0bf6ddc 100644 --- a/src/components/Playlists/Playlists.tsx +++ b/src/components/Playlists/Playlists.tsx @@ -21,7 +21,7 @@ export const Playlists = ({ display: "flex", flexDirection: "column", width: "100%", - maxWidth: "25vw", + maxHeight: "30.94vw", }} > { {videoReference && ( - + + + )} {playlistData && ( { {videoReference ? ( - + + + ) : ( )}