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.

fix the button

Kiran Kbd5ec0c6123f
diff --git a/apps/web/ui/customers/customer-activity-list.tsx b/apps/web/ui/customers/customer-activity-list.tsx
index 06334823dc..46e53a84b2 100644
--- a/apps/web/ui/customers/customer-activity-list.tsx
+++ b/apps/web/ui/customers/customer-activity-list.tsx
@@ -124,7 +124,7 @@ function MetadataViewer({ metadata }: { metadata: Record<string, any> }) {
tooltipProps={{
content: (
<div className="flex flex-col gap-4 overflow-hidden rounded-md border border-neutral-200 bg-white p-4">
- <div className="flex h-[300px] w-[350px] overflow-hidden rounded-md border border-neutral-200 bg-white">
+ <div className="flex h-[200px] w-[280px] overflow-hidden rounded-md border border-neutral-200 bg-white sm:h-[300px] sm:w-[350px]">
<div className="w-full overflow-auto">
<pre className="p-2 text-xs text-neutral-600">
{JSON.stringify(metadata, null, 1)}
@@ -138,11 +138,12 @@ function MetadataViewer({ metadata }: { metadata: Record<string, any> }) {
/>
</div>
),
+ align: "start",
}}
>
<button
type="button"
- className="inline-flex items-center gap-1 rounded-md border border-neutral-200 px-1.5 py-0.5 text-xs text-neutral-600 transition-colors hover:bg-neutral-50"
+ className="hidden items-center gap-1 rounded-md border border-neutral-200 px-1.5 py-0.5 text-xs text-neutral-600 transition-colors hover:bg-neutral-50 sm:inline-flex"
>
View metadata
</button>