Skip to content

Commit

Permalink
better mobile styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Hatchibombotar committed Sep 30, 2024
1 parent ec67fb4 commit f686c88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/FeedPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FiLink, FiGithub, FiExternalLink } from "solid-icons/fi";
const {post} = Astro.props
---
<div class="flex flex-col items-center sm:items-start sm:flex-row gap-3">
<div class="flex flex-col-reverse items-center sm:items-start sm:flex-row gap-3 my-2">
<div class="flex-grow relative">
<div class="hidden sm:block absolute -left-4">•</div>
<h3 class="font-semibold">{post.title}</h3>
Expand All @@ -24,5 +24,5 @@ const {post} = Astro.props
})}
</div>
</div>
<img class="max-h-36 max-w-[12rem] my-3 rounded-md" src={post.image} />
<img class="max-h-36 max-w-[12rem] rounded-md" src={post.image} />
</div>

0 comments on commit f686c88

Please sign in to comment.