Skip to content

Commit 4aaa686

Browse files
committed
Fix checkbox UI on edit profile
1 parent 0e4d309 commit 4aaa686

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/(authenticated)/profile/edit/EditProfileForm.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ export default function EditProfileForm({
564564
<input
565565
id="full-time"
566566
type="checkbox"
567-
className="mr-2"
567+
className="mr-2 accent-sinfo-primary"
568568
{...register("lookingFor.fullTime")}
569569
/>
570570
<label htmlFor="full-time">Full-time</label>
@@ -573,7 +573,7 @@ export default function EditProfileForm({
573573
<input
574574
id="internship"
575575
type="checkbox"
576-
className="mr-2"
576+
className="mr-2 accent-sinfo-primary"
577577
{...register("lookingFor.internship")}
578578
/>
579579
<label htmlFor="internship">Internship</label>
@@ -582,7 +582,7 @@ export default function EditProfileForm({
582582
<input
583583
id="part-time"
584584
type="checkbox"
585-
className="mr-2"
585+
className="mr-2 accent-sinfo-primary"
586586
{...register("lookingFor.partTime")}
587587
/>
588588
<label htmlFor="part-time">Part-time</label>

src/components/GridCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function GridCard({
2525
return (
2626
<Link href={link || "#"} {...linkProps}>
2727
<div className="w-[160px] min-h-[240px] flex flex-col items-center justify-between px-4 py-4 gap-y-2 text-sm bg-white rounded-md shadow-md text-center overflow-hidden hover:bg-slate-50 hover:shadow-sm active:bg-gray-200 active:shadow-none">
28-
<span title={title} className="h-12 w-full line-clamp-2">
28+
<span title={title} className="h-10 w-full line-clamp-2">
2929
{title}
3030
</span>
3131
<Image

0 commit comments

Comments
 (0)