From 27a7bca1b8dede5ee58aebd55f7f7909b355ec1d Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Wed, 11 Sep 2024 15:25:18 -0700 Subject: [PATCH] Fix unintentional extra space for videos on Safari --- .../dataDisplay/postEmbed/VideoEmbed.tsx | 42 ++++++++++--------- src/components/forms/loginForm/LoginForm.tsx | 2 +- tailwind.config.ts | 8 +++- 3 files changed, 30 insertions(+), 22 deletions(-) diff --git a/src/components/dataDisplay/postEmbed/VideoEmbed.tsx b/src/components/dataDisplay/postEmbed/VideoEmbed.tsx index 7e230614..ce9c92a2 100644 --- a/src/components/dataDisplay/postEmbed/VideoEmbed.tsx +++ b/src/components/dataDisplay/postEmbed/VideoEmbed.tsx @@ -18,26 +18,28 @@ const VideoEmbed = memo(function VideoEmbed(props: Props) { const { aspectRatio, playlist, thumbnail, alt } = props; return ( - e.stopPropagation()} - > - - {alt && ( - - )} - - - +
+ e.stopPropagation()} + > + + {alt && ( + + )} + + + +
); }); diff --git a/src/components/forms/loginForm/LoginForm.tsx b/src/components/forms/loginForm/LoginForm.tsx index 068b05a2..535a5ac9 100644 --- a/src/components/forms/loginForm/LoginForm.tsx +++ b/src/components/forms/loginForm/LoginForm.tsx @@ -148,7 +148,7 @@ export default function LoginForm() {