Skip to content

Commit

Permalink
fix: image size
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Sep 27, 2024
1 parent e010f12 commit 8408742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn Component() -> impl IntoView {
<img
src=post.header_image.as_ref().unwrap().to_string()
alt=""
class="object-contain self-center mb-6 max-w-3xl h-full rounded-lg aspect-auto md:w-[768px]"
class="object-contain self-center mb-6 w-auto h-full rounded-lg aspect-auto md:w-[768px]"
/>
</Show>
<Title text=post.title.to_string() />
Expand Down

0 comments on commit 8408742

Please sign in to comment.