Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fixed aspect ratio

Steven Teye1eccb5dae77
diff --git a/app/ui/home/play-button.tsx b/app/ui/home/play-button.tsx
index 2bf7efbc0b..0e6356c5e6 100644
--- a/app/ui/home/play-button.tsx
+++ b/app/ui/home/play-button.tsx
@@ -16,13 +16,13 @@ export default function PlayButton({
return (
<>
<Modal
- className="max-w-screen-xl"
+ className="w-full max-w-screen-xl md:rounded-none xl:rounded-2xl"
dialogOnly
showModal={showModal}
setShowModal={setShowModal}
>
<iframe
- className="aspect-[2300/1440] h-full w-full"
+ className="aspect-[2300/1440] w-full"
src={url}
title="YouTube video player"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"