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.

ui-fix: long project's name ui aberration fixed

Aashish-Upadhyay-10122ef2fdf96df
diff --git a/apps/web/ui/layout/project-select.tsx b/apps/web/ui/layout/project-select.tsx
index f048c5e408..a8358b7839 100644
--- a/apps/web/ui/layout/project-select.tsx
+++ b/apps/web/ui/layout/project-select.tsx
@@ -154,10 +154,10 @@ function ProjectList({
`${GOOGLE_FAVICON_URL}${primaryDomain?.slug || SHORT_DOMAIN}`
}
alt={id}
- className="h-7 w-7 overflow-hidden rounded-full"
+ className="h-7 w-7 shrink-0 overflow-hidden rounded-full"
/>
<span
- className={`block truncate text-sm ${
+ className={`block truncate text-sm sm:w-[140px] ${
selected.slug === slug ? "font-medium" : "font-normal"
}`}
>