The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix share styles
Steven Tey2ac778f8a76e
diff --git a/apps/web/ui/analytics/share-popover.tsx b/apps/web/ui/analytics/share-popover.tsxindex 323333a813..56377dc002 100644--- a/apps/web/ui/analytics/share-popover.tsx+++ b/apps/web/ui/analytics/share-popover.tsx@@ -6,7 +6,7 @@ import {Tick,useOptimisticUpdate,} from "@dub/ui";-import { linkConstructor } from "@dub/utils";+import { cn, linkConstructor } from "@dub/utils";import { Share2 } from "lucide-react";import { useContext, useState } from "react";import { toast } from "sonner";@@ -116,7 +116,11 @@ export default function SharePopover() {><buttononClick={() => setopenSharePopoverPopover(!openSharePopover)}- className="flex w-24 items-center justify-center space-x-2 rounded-md bg-white px-3 py-2.5 shadow transition-all hover:shadow-md"+ className={cn(+ "flex w-24 items-center justify-center space-x-2 rounded-md border bg-white px-3 py-2.5 outline-none transition-all sm:text-sm",+ "border-gray-200 bg-white text-gray-900 placeholder-gray-400 transition-all",+ "focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",+ )}><IconMenu text="Share" icon={<Share2 className="h-4 w-4" />} /></button>diff --git a/packages/ui/src/filter/filter-list.tsx b/packages/ui/src/filter/filter-list.tsxindex c61a6f3d5b..aa3dfe2e10 100644--- a/packages/ui/src/filter/filter-list.tsx+++ b/packages/ui/src/filter/filter-list.tsx@@ -102,7 +102,7 @@ export function FilterList({{activeFilters?.length !== 0 && (<buttontype="button"- className="whitespace-nowrap rounded-md px-3 py-2.5 text-sm text-gray-500 ring-inset ring-gray-500 transition-colors hover:text-gray-700 focus:outline-none focus-visible:ring-1"+ className="whitespace-nowrap rounded-md border border-transparent px-3 py-2.5 text-sm text-gray-500 ring-inset ring-gray-500 transition-colors hover:border-gray-200 hover:bg-white hover:text-gray-700 focus:outline-none focus-visible:ring-1"onClick={onRemoveAll}>Clear Filters