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 add-edit-domain-modal.tsx

Steven Tey26e5e7dadab7
diff --git a/apps/web/ui/modals/add-edit-domain-modal.tsx b/apps/web/ui/modals/add-edit-domain-modal.tsx
index 84ba4df9ef..b3109e5929 100644
--- a/apps/web/ui/modals/add-edit-domain-modal.tsx
+++ b/apps/web/ui/modals/add-edit-domain-modal.tsx
@@ -26,21 +26,19 @@ function AddEditDomainModal({
showModal={showAddEditDomainModal} // TODO change back to showAddEditDomainModal
setShowModal={setShowAddEditDomainModal}
drawerRootProps={{ repositionInputs: false }}
- className="max-w-lg"
+ className="flex max-h-[90vh] max-w-lg flex-col"
>
- <div className="flex max-h-[90vh] flex-col">
- <h3 className="border-b border-neutral-200 px-4 py-4 text-lg font-medium sm:px-6">
- {props ? "Update" : "Add"} Domain
- </h3>
- <div className="bg-neutral-50 flex-1 overflow-auto">
- <AddEditDomainForm
- props={props}
- onSuccess={() => {
- setShowAddEditDomainModal(false);
- }}
- className="p-8"
- />
- </div>
+ <h3 className="border-b border-neutral-200 px-4 py-4 text-lg font-medium sm:px-6">
+ {props ? "Update" : "Add"} Domain
+ </h3>
+ <div className="flex-1 overflow-auto bg-neutral-50">
+ <AddEditDomainForm
+ props={props}
+ onSuccess={() => {
+ setShowAddEditDomainModal(false);
+ }}
+ className="p-8"
+ />
</div>
</Modal>
);