Skip to content

Commit 6020495

Browse files
committed
Fix phone presentation for homefeed top items
1 parent d6b2dac commit 6020495

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/pkgx.dev/HomeFeed.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function HomeFeed() {
2525
</Stack>
2626

2727
<Grid container spacing={{xs: 1, md: 2}}>
28-
<Grid size={{xs: 6, md: 4}}>
28+
<Grid size={{xs: 12, sm: 6, md: 4}}>
2929
<Card raised={true} sx={{ height: '100%' }}>
3030
<CardActionArea href='https://github.com/pkgxdev/pkgx' sx={{ height: '100%' }}>
3131
<CardContent sx={isxs ? {p: 0.75} : undefined}>
@@ -39,7 +39,7 @@ export default function HomeFeed() {
3939
</CardActionArea>
4040
</Card>
4141
</Grid>
42-
<Grid size={{xs: 6, md: 4}}>
42+
<Grid size={{xs: 12, sm: 6, md: 4}}>
4343
<Card raised={true} sx={{ height: '100%' }}>
4444
<CardActionArea href='https://github.com/pkgxdev/pkgm' sx={{ height: '100%' }}>
4545
<CardContent sx={isxs ? {p: 0.75} : undefined}>
@@ -53,7 +53,7 @@ export default function HomeFeed() {
5353
</CardActionArea>
5454
</Card>
5555
</Grid>
56-
<Grid size={{xs: 6, md: 4}}>
56+
<Grid size={{xs: 12, sm: 6, md: 4}}>
5757
<Card raised={true} sx={{ height: '100%' }}>
5858
<CardActionArea href='https://github.com/pkgxdev/dev' sx={{ height: '100%' }}>
5959
<CardContent sx={isxs ? {p: 0.75} : undefined}>
@@ -67,7 +67,7 @@ export default function HomeFeed() {
6767
</CardActionArea>
6868
</Card>
6969
</Grid>
70-
<Grid size={{xs: 6, md: 4}}>
70+
<Grid size={{xs: 12, sm: 6, md: 4}}>
7171
<Card raised={true} sx={{ height: '100%' }}>
7272
<CardActionArea href='https://github.com/pkgxdev/mash' sx={{ height: '100%' }}>
7373
<CardContent sx={isxs ? {p: 0.75} : undefined}>
@@ -81,7 +81,7 @@ export default function HomeFeed() {
8181
</CardActionArea>
8282
</Card>
8383
</Grid>
84-
<Grid size={{xs: 6, md: 4}}>
84+
<Grid size={{xs: 12, sm: 6, md: 4}}>
8585
<Card raised={true}>
8686
<CardActionArea href='https://github.com/pkgxdev/pkgo' sx={{ height: '100%' }}>
8787
<CardContent sx={isxs ? {p: 0.75} : undefined}>
@@ -95,7 +95,7 @@ export default function HomeFeed() {
9595
</CardActionArea>
9696
</Card>
9797
</Grid>
98-
<Grid size={{xs: 6, md: 4}}>
98+
<Grid size={{xs: 12, sm: 6, md: 4}}>
9999
<Card raised={true} sx={{ height: '100%' }}>
100100
<CardActionArea href='https://github.com/pkgxdev/mcp' sx={{ height: '100%' }}>
101101
<CardContent sx={isxs ? {p: 0.75} : undefined}>
@@ -109,7 +109,7 @@ export default function HomeFeed() {
109109
</CardActionArea>
110110
</Card>
111111
</Grid>
112-
<Grid size={{xs: 6, md: 4}}>
112+
<Grid size={{xs: 12, sm: 6, md: 4}}>
113113
<Card raised={true}>
114114
<CardActionArea href='https://github.com/teaxyz/teaBASE' sx={{ height: '100%' }}>
115115
<CardContent sx={isxs ? {p: 0.75} : undefined}>

0 commit comments

Comments
 (0)