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.

small tweaks

Steven Teyb01a5215e3f7
diff --git a/packages/ui/src/icons/nucleo/chart-line.tsx b/packages/ui/src/icons/nucleo/chart-line.tsx
index 35707951b7..df8edc0f6f 100644
--- a/packages/ui/src/icons/nucleo/chart-line.tsx
+++ b/packages/ui/src/icons/nucleo/chart-line.tsx
@@ -5,9 +5,9 @@ export function ChartLine(props: SVGProps<SVGSVGElement>) {
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" {...props}>
<g
fill="none"
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="1.5"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ strokeWidth="1.5"
stroke="currentColor"
>
<path d="M2.75 10.75L6.396 7.10401C6.591 6.90901 6.908 6.90901 7.103 7.10401L10.396 10.397C10.591 10.592 10.908 10.592 11.103 10.397L15.249 6.25101"></path>{" "}
diff --git a/packages/ui/src/nav/content/resources-content.tsx b/packages/ui/src/nav/content/resources-content.tsx
index 34da699d57..ff36022d66 100644
--- a/packages/ui/src/nav/content/resources-content.tsx
+++ b/packages/ui/src/nav/content/resources-content.tsx
@@ -9,8 +9,8 @@ import {
export function ResourcesContent({ domain }: ContentProps) {
return (
- <div className="grid w-[32rem] grid-cols-2">
- <div className="p-5">
+ <div className="grid w-[32rem] grid-cols-12">
+ <div className="col-span-7 p-5">
<p className={cn(contentHeadingClassName, "mb-2")}>Tools</p>
<div className="flex flex-col gap-2">
<ToolLinkCard
@@ -148,7 +148,7 @@ export function ResourcesContent({ domain }: ContentProps) {
/>
</div>
</div>
- <div className="border-l border-gray-200 p-5 dark:border-white/20">
+ <div className="col-span-5 border-l border-gray-200 p-5 dark:border-white/20">
<p className={cn(contentHeadingClassName, "mb-2")}>Resources</p>
<div className="-mx-2 flex flex-col gap-0.5">
{RESOURCES.map(({ icon: Icon, name, href }) => (
diff --git a/packages/ui/src/nav/content/shared.tsx b/packages/ui/src/nav/content/shared.tsx
index 8d6b223912..c386481c8f 100644
--- a/packages/ui/src/nav/content/shared.tsx
+++ b/packages/ui/src/nav/content/shared.tsx
@@ -69,7 +69,7 @@ export function ToolLinkCard({
return (
<Link
href={href}
- className="group relative isolate overflow-hidden rounded-[8px] border border-gray-100 p-3 text-xs font-medium text-gray-800 transition-colors hover:bg-gray-100 active:bg-gray-200 dark:border-white/20 dark:text-white/80 dark:hover:bg-white/[0.15] dark:active:bg-white/20"
+ className="group relative isolate overflow-hidden rounded-[8px] border border-gray-100 p-3 text-sm font-medium text-gray-800 transition-colors hover:border-gray-200 hover:bg-gray-100 active:bg-gray-200 dark:border-white/20 dark:text-white/80 dark:hover:bg-white/[0.15] dark:active:bg-white/20"
>
<div className="absolute -bottom-5 -right-3 -z-[1] w-14">{icon}</div>
{name}