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 modal overflow

Tim Wilsond8e04225a628
diff --git a/apps/web/ui/modals/import-csv-modal/field-mapping.tsx b/apps/web/ui/modals/import-csv-modal/field-mapping.tsx
index 52adda8bf4..ee9041d8e8 100644
--- a/apps/web/ui/modals/import-csv-modal/field-mapping.tsx
+++ b/apps/web/ui/modals/import-csv-modal/field-mapping.tsx
@@ -176,7 +176,7 @@ function FieldRow({
)}
/>
{Boolean(examples?.length) && (
- <div className="-mr-6 ml-2 shrink-0">
+ <div className="-mr-6 ml-2 hidden shrink-0 sm:block">
<Tooltip
content={
<div className="block px-3 py-2 text-sm">
diff --git a/apps/web/ui/modals/import-csv-modal/index.tsx b/apps/web/ui/modals/import-csv-modal/index.tsx
index 5f1abc3928..36c8f5591a 100644
--- a/apps/web/ui/modals/import-csv-modal/index.tsx
+++ b/apps/web/ui/modals/import-csv-modal/index.tsx
@@ -130,6 +130,7 @@ function ImportCsvModal({
del: "import",
})
}
+ className="h-fit max-h-[95dvh] overflow-y-auto"
>
<div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-8 sm:px-16">
<div className="flex items-center space-x-3 py-4">