Skip to content

Commit

Permalink
fix: add inline-block class to post title for improved view transitio…
Browse files Browse the repository at this point in the history
…n animation
  • Loading branch information
Yamabuki-bakery committed Nov 30, 2024
1 parent 397e321 commit 129a0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/PostDetails.astro
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const nextPost =
</button>
</div>
<main id="main-content">
<h1 transition:name={slugifyStr(title)} class="post-title">{title}</h1>
<h1 transition:name={slugifyStr(title)} class="post-title inline-block">{title}</h1>
<Datetime
pubDatetime={pubDatetime}
modDatetime={modDatetime}
Expand Down

0 comments on commit 129a0cb

Please sign in to comment.