Skip to content

Commit 63ab6b1

Browse files
committed
fix: mobile responsive issues on onboarding
1 parent 583c265 commit 63ab6b1

File tree

8 files changed

+913
-723
lines changed

8 files changed

+913
-723
lines changed

apps/web/app/onboarding/bio-form.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ export function BioForm() {
3131
})
3232
}
3333
return (
34-
<div className="relative">
34+
<div className="relative w-full">
3535
<div className="space-y-4">
3636
<NavMenu>
3737
<p className="text-base text-white/60">
3838
Step {getStepNumberFor("bio")} of {totalSteps}
3939
</p>
4040
</NavMenu>
41-
<h1 className="max-sm:text-4xl text-white font-medium">
42-
Tell us about yourself
41+
<h1 className="text-2xl md:text-4xl text-white font-medium">
42+
Tell Supermemory about yourself
4343
</h1>
44-
<p className="text-2xl max-sm:text-lg text-white/80">
45-
What should Supermemory know about you?
44+
<p className="text-lg md:text-xl text-white/80">
45+
share with Supermemory what you do, who you are, and what you're interested in
4646
</p>
4747
</div>
4848
<Textarea
4949
autoFocus
50-
className="font-sans mt-6 text-base! text-white tracking-normal font-medium border bg-white/30 border-zinc-200 rounded-lg !field-sizing-normal !min-h-[calc(3*1.5rem+1rem)]"
50+
className="font-sans mt-6 text-base! placeholder:text-white/80 text-white tracking-normal font-medium border bg-white/30 border-zinc-200 rounded-lg !field-sizing-normal !min-h-[calc(3*1.5rem+1rem)] w-full"
5151
placeholder="I'm a software engineer from San Francisco..."
5252
rows={3}
5353
value={bio}
@@ -61,12 +61,12 @@ export function BioForm() {
6161
animate={{ opacity: 1, filter: "blur(0px)", scale: 1 }}
6262
exit={{ opacity: 0, filter: "blur(10px)", scale: 0.95 }}
6363
transition={{ duration: 0.2, ease: "easeOut" }}
64-
className="flex justify-end mt-2 absolute -bottom-12 right-0"
64+
className="flex justify-end mt-4 md:mt-2 md:absolute md:-bottom-12 md:right-0"
6565
>
6666
<Button
6767
variant="link"
6868
size="lg"
69-
className="text-white/80 font-medium! text-lg underline w-fit px-0! cursor-pointer"
69+
className="text-white/80 font-medium! text-base md:text-lg underline w-fit px-0! cursor-pointer"
7070
onClick={handleNext}
7171
>
7272
Save & Continue
@@ -79,12 +79,12 @@ export function BioForm() {
7979
animate={{ opacity: 1, filter: "blur(0px)" }}
8080
exit={{ opacity: 0, filter: "blur(5px)" }}
8181
transition={{ duration: 0.2, ease: "easeOut" }}
82-
className="flex justify-end mt-2 absolute -bottom-12 right-0"
82+
className="flex justify-end mt-4 md:mt-2 md:absolute md:-bottom-12 md:right-0"
8383
>
8484
<Button
8585
variant="link"
8686
size="lg"
87-
className="text-white/80 font-medium! text-lg underline w-fit px-0! cursor-pointer"
87+
className="text-white/80 font-medium! text-base md:text-lg underline w-fit px-0! cursor-pointer"
8888
onClick={handleNext}
8989
>
9090
Skip For Now

0 commit comments

Comments
 (0)