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.

Update core.ts

Tim Wilson455567f25c48
diff --git a/packages/embeds/core/src/core.ts b/packages/embeds/core/src/core.ts
index 791f73b851..a12e29de33 100644
--- a/packages/embeds/core/src/core.ts
+++ b/packages/embeds/core/src/core.ts
@@ -66,7 +66,7 @@ const POPUP_STYLES = ({
}): Partial<CSSStyleDeclaration> => ({
width: anchor ? "100%" : "calc(100% - 32px)",
height: "100dvh",
- maxHeight: "500px",
+ maxHeight: anchor ? "468px" : "500px",
backgroundColor: "white",
borderRadius: "12px",
border: "1px solid #E5E5E5",