Skip to content

Commit

Permalink
fix: prevent x-axis scrolling in posts
Browse files Browse the repository at this point in the history
  • Loading branch information
EATSTEAK committed Nov 26, 2023
1 parent 744c299 commit a4abe1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { title, description, pubDate, updatedDate, heroImage, category } =
class="self-center flex justify-between w-full max-w-[96rem] px-6 lg:px-0 xl:gap-12"
>
<div class="grow flex justify-center w-full lg:w-auto">
<article class="w-full max-w-4xl overflow-x-scroll">
<article class="w-full max-w-4xl">
<div class="image">
{heroImage && <img class="max-w-100%" src={heroImage} alt="" />}
</div>
Expand Down

0 comments on commit a4abe1e

Please sign in to comment.