Skip to content

Commit

Permalink
Grid is hard to use
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Sep 30, 2024
1 parent e691ffe commit c06c528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/components/punk-society/NewsFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type NewsFeedProps = {
export const NewsFeed: React.FC<NewsFeedProps> = ({ posts }) => {
return (
<div className="mt-4 lg:mt-0 lg:flex lg:justify-center lg:items-center">
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6 gap-3 lg:m-2">
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-4 2xl:grid-cols-5 gap-3 lg:my-2">
{posts.map(post => (
<PostCard post={post} key={post.uri} />
))}
Expand Down

0 comments on commit c06c528

Please sign in to comment.