Skip to content

Commit

Permalink
added text-wrap-pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
jhilker98 committed Oct 25, 2023
1 parent cadab07 commit fd77324
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/BlogPostLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const {

<BaseLayout title={title} description={description}>
<article
class="p-2 prose mx-auto max-w-[80ch] prose-headings:font-serif prose-neutral dark:prose-invert prose-branding-blue prose-code:before:hidden prose-code:after:hidden">
class="p-2 prose mx-auto max-w-[80ch] prose-headings:font-serif prose-neutral dark:prose-invert prose-branding-blue prose-code:before:hidden prose-code:after:hidden prose-p:text-balance-pretty">
{
cover !== undefined && (
<Image
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ export default {
".text-wrap-balance": {
"text-wrap": "balance",
},
".text-wrap-pretty": {
"text-wrap": "pretty",
},
});
}),
],
Expand Down

0 comments on commit fd77324

Please sign in to comment.