Skip to content

Commit

Permalink
fix: minor update of race timeline and season tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lombardoc4 committed Jun 10, 2024
1 parent 127dd5b commit 614b420
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions src/app/(features)/RaceTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ export const DriverResultsInfo = ({
>
{driver.FullName}
</h3>
<h4
className={clsx({
'text-1xl': subEl,
'text-3xl': !subEl,
})}
>
{driver.TeamName}
</h4>
{!subEl && (
<h4
className={clsx({
'text-1xl': subEl,
'text-3xl': !subEl,
})}
>
{driver.TeamName}
</h4>
)}
</div>
</div>
{!subEl && (
Expand Down
2 changes: 1 addition & 1 deletion src/app/[season]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function ResultsPage() {
return (
<main>
<Tabs
headers={['Races', 'Drivers', 'Constructors']}
headers={['Schedule', 'Drivers', 'Constructors']}
containers={[
<RaceSchedule key='Race Schedule' />,
<Timeline key='Driver Standings'>
Expand Down

0 comments on commit 614b420

Please sign in to comment.