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 slider

Kiran Ka26bfb71ad2a
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/payouts/payout-settings-modal.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/payouts/payout-settings-modal.tsx
index 6067f1a928..56a6d410d2 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/payouts/payout-settings-modal.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/payouts/payout-settings-modal.tsx
@@ -95,7 +95,7 @@ function PayoutSettingsModalInner({
</div>
{/* Minimum withdrawal amount */}
- <div className="space-y-6 bg-neutral-50 p-4 sm:p-6">
+ <div className="space-y-10 bg-neutral-50 p-4 sm:p-6">
<div>
<h4 className="text-base font-semibold leading-6 text-neutral-900">
Minimum withdrawal amount
@@ -132,10 +132,8 @@ function PayoutSettingsModalInner({
}
/>
</div>
- </div>
- {/* Invoice details */}
- <div className="flex flex-col gap-2 bg-neutral-50 p-4 sm:p-6">
+ {/* Invoice details */}
<div className="space-y-4">
<div>
<h4 className="text-base font-semibold leading-6 text-neutral-900">
diff --git a/packages/ui/src/slider.tsx b/packages/ui/src/slider.tsx
index ef45a712c0..8aed034643 100644
--- a/packages/ui/src/slider.tsx
+++ b/packages/ui/src/slider.tsx
@@ -76,7 +76,9 @@ export function Slider({
</RadixSlider.Thumb>
</RadixSlider.Root>
- {hint && <div className="mt-2 text-xs text-neutral-500">{hint}</div>}
+ <div className="mt-2 text-xs text-neutral-500 min-h-[1rem]">
+ {hint}
+ </div>
</div>
</div>
);