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 prettier

Steven Tey257411e812ca
diff --git a/packages/ui/src/nav-logo.tsx b/packages/ui/src/nav-logo.tsx
index 5c0a3d5d4d..925cf662d4 100644
--- a/packages/ui/src/nav-logo.tsx
+++ b/packages/ui/src/nav-logo.tsx
@@ -82,7 +82,7 @@ export function NavLogo({
setIsPopoverOpen(false);
}}
>
- <div className="grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]">
+ <div className="grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black">
<ContextMenuButton
text="Copy Logo as SVG"
variant="outline"
diff --git a/packages/ui/src/nav/content/shared.tsx b/packages/ui/src/nav/content/shared.tsx
index 542649aed9..1467ed9b0f 100644
--- a/packages/ui/src/nav/content/shared.tsx
+++ b/packages/ui/src/nav/content/shared.tsx
@@ -44,7 +44,7 @@ export function ContentLinkCard({
)}
</div>
{showArrow && (
- <ExpandingArrow className="invisible -ml-6 h-4 w-4 text-gray-700 group-aria-selected:visible dark:text-white/80 sm:group-hover:visible" />
+ <ExpandingArrow className="invisible -ml-6 h-4 w-4 text-gray-700 group-aria-selected:visible sm:group-hover:visible dark:text-white/80" />
)}
</div>
</Link>
diff --git a/packages/ui/src/nav/nav-mobile.tsx b/packages/ui/src/nav/nav-mobile.tsx
index a1d0ab82d6..8d601ecaea 100644
--- a/packages/ui/src/nav/nav-mobile.tsx
+++ b/packages/ui/src/nav/nav-mobile.tsx
@@ -35,7 +35,7 @@ export function NavMobile({ theme = "light" }: { theme?: NavTheme }) {
<button
onClick={() => setOpen(!open)}
className={cn(
- "fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 dark:hover:bg-white/20 dark:active:bg-white/30 lg:hidden",
+ "fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",
open && "hover:bg-gray-100 active:bg-gray-200",
)}
>
@@ -47,7 +47,7 @@ export function NavMobile({ theme = "light" }: { theme?: NavTheme }) {
</button>
<nav
className={cn(
- "fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 dark:bg-black dark:text-white/70 lg:hidden",
+ "fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",
open && "block",
)}
>