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: responsiveness

flooorianflob3a82265e6fc
diff --git a/apps/web/ui/analytics/filter-bar.tsx b/apps/web/ui/analytics/filter-bar.tsx
index 45ce257197..5ce3f9d7d2 100644
--- a/apps/web/ui/analytics/filter-bar.tsx
+++ b/apps/web/ui/analytics/filter-bar.tsx
@@ -9,7 +9,7 @@ export default function FilterBar() {
<div className="flex w-full flex-wrap gap-1 rounded-lg bg-gray-100 p-1">
{allDomains.length > 0 && <DomainSelector />}
<TagSelector />
- <button className="flex items-center justify-center gap-2 truncate rounded-lg border border-gray-200 bg-white py-2 pl-2 pr-4 text-sm text-gray-400">
+ <button className="flex items-center justify-center gap-2 truncate rounded-md border border-gray-200 bg-white py-2 pl-2 pr-4 text-sm text-gray-400">
<Plus className="h-4 w-4 flex-shrink-0 text-black" />
<span>Add Filter</span>
</button>
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsx
index 14164e20b2..f4a74f1b68 100644
--- a/apps/web/ui/analytics/toggle.tsx
+++ b/apps/web/ui/analytics/toggle.tsx
@@ -46,7 +46,7 @@ export default function Toggle() {
"shadow-md": scrolled,
})}
>
- <div className="mx-auto flex h-20 w-full max-w-4xl flex-col gap-2 space-y-3 px-2.5 md:h-24 md:space-y-0 lg:px-0">
+ <div className="mx-auto flex w-full max-w-4xl flex-col gap-2 space-y-3 px-2.5 md:h-24 md:space-y-0 lg:px-0">
<div className="flex w-full items-center justify-between gap-2">
{isPublicStatsPage ? (
<a
@@ -72,7 +72,7 @@ export default function Toggle() {
<ExpandingArrow className="h-5 w-5" />
</a>
) : (
- <div className="flex items-center space-x-2 pr-2">
+ <div className="flex items-center space-x-2 truncate pr-2">
<BlurImage
alt={name || "Workspace Logo"}
src={logo || DUB_LOGO}