Skip to content

Commit

Permalink
fix: inconsistent space in feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol committed Dec 17, 2023
1 parent f7fa428 commit 2933c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion islands/Feed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function Feed() {
<div className="flex flex-col items-center justify-center h-full">
<div className="pb-4">
{sortedFriendsPosts.map((post, id) => (
<div key={`${post.momentId}-${id}`} class="m-4">
<div key={`${post.momentId}-${id}`} class="mx-4">
<Post
user={post.user}
region={post.region}
Expand Down
2 changes: 1 addition & 1 deletion islands/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function Post(
<div
id={post.id}
key={post.id}
className="mx-auto max-w-sm p-4 dark:bg-gray-800 border-2 border-gray-800 dark:border-white rounded-md"
className="mx-auto max-w-sm my-4 p-4 dark:bg-gray-800 border-2 border-gray-800 dark:border-white rounded-md"
>
<div className="flex items-center">
<a href={`/user/${user.id}`}>
Expand Down

0 comments on commit 2933c0c

Please sign in to comment.