Skip to content

Commit

Permalink
Merge pull request #76 from Linaro/WEBDEV-1780
Browse files Browse the repository at this point in the history
fix inline code formatting on blog posts
  • Loading branch information
pcolmer authored May 22, 2024
2 parents e3adbbb + 1335e8b commit 7fdcad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/article/ArticleContent.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const { Content, image } = Astro.props;
effects={["grayscale"]}
/>
<article
class="prose prose-invert prose-xl mx-auto max-w-full px-8 prose-a:text-blue-200 py-24 marker:text-white"
class="prose prose-invert prose-xl mx-auto max-w-full px-8 prose-a:text-blue-200 py-24 marker:text-white prose-code:before:hidden prose-code:after:hidden prose-code:bg-[#24292e] prose-code:p-3 prose-code:text-base prose-code:font-normal prose-code:rounded-sm"
>
<Content components={{ img: CloudinaryImg }} />
</article>
Expand Down

0 comments on commit 7fdcad1

Please sign in to comment.