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.

fixed QR color picker tooltip z-index

Steven Tey6dceafe1d0b9
diff --git a/app/ui/modals/link-qr-modal.tsx b/app/ui/modals/link-qr-modal.tsx
index b9e2189b16..e6840b56e8 100644
--- a/app/ui/modals/link-qr-modal.tsx
+++ b/app/ui/modals/link-qr-modal.tsx
@@ -286,7 +286,7 @@ function AdvancedSettings({ qrData, setFgColor, showLogo, setShowLogo }) {
onChange={(color) => setFgColor(color)}
prefixed
style={{ borderColor: qrData.fgColor }}
- className={`block z-10 w-full rounded-r-md border-2 border-l-0 pl-3 text-gray-900 placeholder-gray-300 focus:outline-none focus:ring-black sm:text-sm`}
+ className="block w-full rounded-r-md border-2 border-l-0 pl-3 text-gray-900 placeholder-gray-300 focus:outline-none focus:ring-black sm:text-sm"
/>
</div>
</div>
diff --git a/app/ui/tooltip.tsx b/app/ui/tooltip.tsx
index abcd49527a..f323a8b5d3 100644
--- a/app/ui/tooltip.tsx
+++ b/app/ui/tooltip.tsx
@@ -112,7 +112,7 @@ export default function Tooltip({
<TooltipPrimitive.Content
sideOffset={4}
side="top"
- className="z-40 hidden animate-slide-up-fade items-center overflow-hidden rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block"
+ className="z-50 hidden animate-slide-up-fade items-center overflow-hidden rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block"
>
<TooltipPrimitive.Arrow className="fill-current text-white" />
{typeof content === "string" ? (
diff --git a/components/app/modals/link-qr-modal.tsx b/components/app/modals/link-qr-modal.tsx
index 9ff70dbb97..b645110c00 100644
--- a/components/app/modals/link-qr-modal.tsx
+++ b/components/app/modals/link-qr-modal.tsx
@@ -284,7 +284,7 @@ function AdvancedSettings({ qrData, setFgColor, showLogo, setShowLogo }) {
onChange={(color) => setFgColor(color)}
prefixed
style={{ borderColor: qrData.fgColor }}
- className={`block z-10 w-full rounded-r-md border-2 border-l-0 pl-3 text-gray-900 placeholder-gray-300 focus:outline-none focus:ring-black sm:text-sm`}
+ className="block w-full rounded-r-md border-2 border-l-0 pl-3 text-gray-900 placeholder-gray-300 focus:outline-none focus:ring-black sm:text-sm"
/>
</div>
</div>