Skip to content

The Open Source DocuSign Alternative.

fix: update styling

Lucas Smithddfd4b9e1b11
diff --git a/apps/web/src/components/forms/v2/signup.tsx b/apps/web/src/components/forms/v2/signup.tsx
index d15b50473..a7e33a759 100644
--- a/apps/web/src/components/forms/v2/signup.tsx
+++ b/apps/web/src/components/forms/v2/signup.tsx
@@ -227,9 +227,9 @@ export const SignUpFormV2 = ({
<div className="border-border dark:bg-background relative z-10 flex min-h-[min(800px,80vh)] w-full max-w-lg flex-col rounded-xl border bg-neutral-100 p-6">
{step === 'BASIC_DETAILS' && (
<div className="h-20">
- <h1 className="text-2xl font-semibold">Create a new account</h1>
+ <h1 className="text-xl font-semibold md:text-2xl">Create a new account</h1>
- <p className="text-muted-foreground mt-2 text-sm">
+ <p className="text-muted-foreground mt-2 text-xs md:text-sm">
Create your account and start using state-of-the-art document signing. Open and
beautiful signing is within your grasp.
</p>
@@ -238,9 +238,9 @@ export const SignUpFormV2 = ({
{step === 'CLAIM_USERNAME' && (
<div className="h-20">
- <h1 className="text-2xl font-semibold">Claim your username now</h1>
+ <h1 className="text-xl font-semibold md:text-2xl">Claim your username now</h1>
- <p className="text-muted-foreground mt-2 text-sm">
+ <p className="text-muted-foreground mt-2 text-xs md:text-sm">
You will get notified & be able to set up your documenso public profile when we launch
the feature.
</p>
@@ -378,7 +378,7 @@ export const SignUpFormV2 = ({
<FormMessage />
- <div className="bg-muted/50 border-border text-muted-foreground mt-2 inline-block max-w-[29rem] truncate rounded-md border px-2 py-1 text-sm lowercase">
+ <div className="bg-muted/50 border-border text-muted-foreground mt-2 inline-block max-w-[16rem] truncate rounded-md border px-2 py-1 text-sm lowercase">
{baseUrl.host}/u/{field.value || '<username>'}
</div>
</FormItem>
diff --git a/apps/web/src/components/ui/user-profile-skeleton.tsx b/apps/web/src/components/ui/user-profile-skeleton.tsx
index c6936522b..c8b8b808a 100644
--- a/apps/web/src/components/ui/user-profile-skeleton.tsx
+++ b/apps/web/src/components/ui/user-profile-skeleton.tsx
@@ -24,9 +24,8 @@ export const UserProfileSkeleton = ({ className, user, rows = 2 }: UserProfileSk
className,
)}
>
- <div className="border-border bg-background text-muted-foreground relative inline-block rounded-md border px-2.5 py-1.5 text-sm">
- <span>{baseUrl.host}/u/</span>
- <span className="absolute inline-block max-w-[8rem] truncate lowercase">{user.url}</span>
+ <div className="border-border bg-background text-muted-foreground inline-block max-w-full truncate rounded-md border px-2.5 py-1.5 text-sm">
+ {baseUrl.host}/u/{user.url}
</div>
<div className="mt-4">
diff --git a/apps/web/src/components/ui/user-profile-timur.tsx b/apps/web/src/components/ui/user-profile-timur.tsx
index e99a314b4..8d1e517ad 100644
--- a/apps/web/src/components/ui/user-profile-timur.tsx
+++ b/apps/web/src/components/ui/user-profile-timur.tsx
@@ -25,7 +25,7 @@ export const UserProfileTimur = ({ className, rows = 2 }: UserProfileTimurProps)
className,
)}
>
- <div className="border-border bg-background text-muted-foreground inline-block rounded-md border px-2.5 py-1.5 text-sm">
+ <div className="border-border bg-background text-muted-foreground inline-block max-w-full truncate rounded-md border px-2.5 py-1.5 text-sm">
{baseUrl.host}/u/timur
</div>