Fix component top margins

This commit is contained in:
Rob Cameron
2020-10-19 16:35:19 -07:00
parent ce17804e51
commit 6c8aa09860
7 changed files with 29 additions and 18 deletions

View File

@@ -20,9 +20,11 @@ export const Failure = ({ error }) => <div>Error: {error.message}</div>
export const Success = ({ posts }) => {
return (
<div className="-mt-12">
<div className="-mt-10">
{posts.map((post) => (
<BlogPost key={post.id} post={post} />
<div key={post.id} className="mt-10">
<BlogPost post={post} />
</div>
))}
</div>
)