fixes #2733: Bug where date range is displayed on separate line (#2862)

This commit is contained in:
Amruth Pillai
2026-04-04 12:03:09 +02:00
committed by GitHub
parent 9332e1e3ff
commit 923f5f6173
68 changed files with 2042 additions and 1704 deletions
+4 -4
View File
@@ -164,11 +164,11 @@ function EducationForm() {
<FormField
control={form.control}
name="degree"
name="area"
render={({ field }) => (
<FormItem>
<FormLabel>
<Trans>Degree</Trans>
<Trans>Area of Study</Trans>
</FormLabel>
<FormControl render={<Input {...field} />} />
<FormMessage />
@@ -178,11 +178,11 @@ function EducationForm() {
<FormField
control={form.control}
name="area"
name="degree"
render={({ field }) => (
<FormItem>
<FormLabel>
<Trans>Area of Study</Trans>
<Trans>Degree</Trans>
</FormLabel>
<FormControl render={<Input {...field} />} />
<FormMessage />
+18 -16
View File
@@ -262,20 +262,6 @@ function ExperienceForm() {
)}
/>
<FormField
control={form.control}
name="position"
render={({ field }) => (
<FormItem>
<FormLabel>{hasRoles ? <Trans>Overall Title (optional)</Trans> : <Trans>Position</Trans>}</FormLabel>
<FormControl
render={<Input {...field} placeholder={hasRoles ? "e.g. Software Engineer → Senior Engineer" : ""} />}
/>
<FormMessage />
</FormItem>
)}
/>
<FormField
control={form.control}
name="location"
@@ -290,13 +276,29 @@ function ExperienceForm() {
)}
/>
<FormField
control={form.control}
name="position"
render={({ field }) => (
<FormItem>
<FormLabel>
<Trans>Position</Trans>
</FormLabel>
<FormControl render={<Input {...field} />} />
<FormMessage />
</FormItem>
)}
/>
<FormField
control={form.control}
name="period"
render={({ field }) => (
<FormItem>
<FormLabel>{hasRoles ? <Trans>Overall Period</Trans> : <Trans>Period</Trans>}</FormLabel>
<FormControl render={<Input {...field} placeholder={hasRoles ? "e.g. 2018 Present" : ""} />} />
<FormLabel>
<Trans>Period</Trans>
</FormLabel>
<FormControl render={<Input {...field} />} />
<FormMessage />
</FormItem>
)}