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 Teye780e76ba562
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/groups/[groupSlug]/group-header-selector.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/groups/[groupSlug]/group-header-selector.tsx
index dfdd327e25..a597190184 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/groups/[groupSlug]/group-header-selector.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/groups/[groupSlug]/group-header-selector.tsx
@@ -124,7 +124,7 @@ export function GroupHeaderSelector({
open={openPopover}
onOpenChange={setOpenPopover}
popoverProps={{
- contentClassName: "min-w-[200px]",
+ contentClassName: "min-w-[280px]",
}}
labelProps={{
className: "text-lg font-semibold leading-7 text-neutral-900",
diff --git a/apps/web/ui/partners/groups/design/branding-settings-form.tsx b/apps/web/ui/partners/groups/design/branding-settings-form.tsx
index 68a1f3c461..e08fe21f4c 100644
--- a/apps/web/ui/partners/groups/design/branding-settings-form.tsx
+++ b/apps/web/ui/partners/groups/design/branding-settings-form.tsx
@@ -1,15 +1,18 @@
"use client";
+import useWorkspace from "@/lib/swr/use-workspace";
import { ProgramColorPicker } from "@/ui/partners/program-color-picker";
import { FileUpload, InfoTooltip } from "@dub/ui";
import { Plus } from "@dub/ui/icons";
import { cn } from "@dub/utils/src";
import { flightRouterStateSchema } from "next/dist/server/app-render/types";
+import Link from "next/link";
import { ReactNode, useId } from "react";
import { Controller } from "react-hook-form";
import { useBrandingFormContext } from "./branding-form";
export function BrandingSettingsForm() {
+ const { slug } = useWorkspace();
const { control } = useBrandingFormContext();
return (
@@ -21,8 +24,13 @@ export function BrandingSettingsForm() {
description={
<>
Set the group style and content for{" "}
- <span className="font-semibold">all groups</span>. This will be
- how it appears to all your partners.
+ <Link
+ className="font-semibold decoration-dotted underline-offset-2 hover:underline"
+ href={`/${slug}/program/groups`}
+ >
+ all partner groups
+ </Link>
+ . This will be how it appears to all your partners.
</>
}
/>