Skip to content

Commit

Permalink
baymax pfp size and baymax name shrink when mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-weijie committed Aug 7, 2024
1 parent 7dac838 commit 83f94a3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,15 @@ export default function Home() {
<Avatar
src="baymax-pfp.png"
alt="Baymax"
sx={{ width: 70, height: 70 }}
sx={{ width: isMobile ? 50 : 70, height: isMobile ? 50 : 70 }}
/>
</Link>
<Typography variant="p">Baymax</Typography>
<Typography
variant="body1"
sx={{ fontSize: isMobile ? "0.8rem" : "1rem" }}
>
Baymax
</Typography>
</Box>
<Divider />
<Stack
Expand Down

0 comments on commit 83f94a3

Please sign in to comment.