Skip to content

Commit 702aaa1

Browse files
committed
Use smaller variant for smaller screens in project page
1 parent 9cf1888 commit 702aaa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/projects/[name]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default async function ProjectPage({ params }: { params: Props }) {
3636
return (
3737
<Container maxWidth="md">
3838
<Stack gap={2} sx={{ py: 4 }}>
39-
<Typography component="h2" variant="h2">
39+
<Typography component="h2" sx={{ typography: { xs: "h4", sm: "h2" } }}>
4040
{project.title}
4141
</Typography>
4242
<Link

0 commit comments

Comments
 (0)