Skip to content

Commit

Permalink
style changes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
alpozkanm committed Sep 9, 2023
1 parent ac4ebd7 commit c0cc8e9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions components/posts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ export default function Posts({ posts }: { posts: Post[] }) {
{post.title}
</a>
</h3>
{ post.image && (
<div style={{ width: '200px', position: 'relative', height: '100px' }}>
<Image fill={true} src={post.image} alt={post.title}/>
</div>
)}
{post.image && (
<div
style={{ width: "200px", position: "relative", height: "100px" }}
>
<Image fill={true} src={post.image} alt={post.title} />
</div>
)}
<p className="mt-3">{post.description}</p>
</article>
))}
Expand Down

0 comments on commit c0cc8e9

Please sign in to comment.