Skip to content

Commit

Permalink
Update font size
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbar01234 committed Apr 26, 2024
1 parent 9efe6a5 commit 19ccccd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
18 changes: 4 additions & 14 deletions src/components/AddSenior.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,25 +241,15 @@ const AddSenior = ({
return (
<>
{showAddSeniorPopUp && (
<Popup className="h-[40rem] w-full overflow-auto sm:w-[36rem]">
<Popup className="h-fit w-full overflow-auto sm:w-[36rem]">
{!confirm && !error ? (
<form className=" text-white" onSubmit={handleSubmit(onSubmit)}>
<div className="mb-5 text-xl font-extrabold sm:text-center md:text-left">
<div className="mb-5 text-2xl font-extrabold sm:text-center md:text-left">
{seniorPatch ? "Update" : "Add New"} Senior
</div>
<div>
<div className=" relative mb-4 flex h-2 w-2 flex-col items-center justify-center gap-10 rounded bg-white p-10">
<Image src={currentImage} alt="Description" layout="fill" />
<input
type="file"
className="absolute left-0 top-0 h-full w-full cursor-pointer opacity-0"
onChange={handleImageReplace}
/>
</div>
</div>
<div className="flex flex-col sm:flex-row">
<div className="mr-0 flex-1 flex-col sm:mr-2">
<div className=" mb-2 h-[19px] w-full text-base text-white">
<div className="mb-2 h-[19px] w-full text-base text-white">
First name
</div>
<input
Expand All @@ -274,7 +264,7 @@ const AddSenior = ({
autoComplete="off"
/>
{errors?.firstname && (
<div className="text-s mb-1 text-sunset-orange">
<div className="mb-1 text-sm text-sunset-orange">
{errors.firstname.message}
</div>
)}
Expand Down
8 changes: 4 additions & 4 deletions src/components/user/AddFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const TagOptions = ({
? "bg-white text-[#22555A]"
: "hover:bg-white hover:text-[#22555A]"
} m-2 ml-[-2px] inline-block rounded-full border-2
p-2`}
p-2 text-base`}
>
{tag.name}
</label>
Expand All @@ -75,7 +75,7 @@ const TagSelector = ({
<div className="text-neutral-600 h-[30px] w-full font-['merriweather'] text-xl">
Tags
</div>
<div className="text-base font-thin">
<div className="text-sm font-thin">
Select min of 1, max of 3 <span className="text-red-400">*</span>
</div>
<TagOptions
Expand Down Expand Up @@ -157,8 +157,8 @@ const AddFile = ({
// <Popup className="h-[32rem] w-full overflow-y-auto sm:h-[44rem] sm:w-[36rem]">
<Popup className="h-fit w-full overflow-y-auto sm:w-[36rem]">
<div className="flex-col justify-between rounded-[16px] text-white">
<div className="mb-5 text-xl font-bold"> Create New File</div>
<div className="text-neutral-600 h-[30px] w-full text-base">
<div className="mb-5 text-2xl font-bold">Create New File</div>
<div className="text-neutral-600 h-[30px] w-full text-xl">
Select Date
</div>
<div className="inline-bl w-full">
Expand Down

0 comments on commit 19ccccd

Please sign in to comment.