fix: back button position

This commit is contained in:
radishzzz 2025-05-26 12:36:16 +01:00
parent f54cacfedc
commit 7c12dbd301
2 changed files with 14 additions and 12 deletions

View file

@ -107,17 +107,19 @@ const { Content, headings, remarkPluginFrontmatter } = await render(post)
supportedLangs={supportedLangs}
>
<article class="heti mb-12.6">
<!-- Go Back Button On Desktop -->
<BackButton />
<!-- Title -->
<h1 class="post-title">
<span
transition:name={`post-${post.data.abbrlink || post.id}-${lang}`}
data-disable-theme-transition
>
{post.data.title}
</span>
</h1>
<div class="relative">
<!-- Go Back Button On Desktop -->
<BackButton />
<!-- Title -->
<h1 class="post-title">
<span
transition:name={`post-${post.data.abbrlink || post.id}-${lang}`}
data-disable-theme-transition
>
{post.data.title}
</span>
</h1>
</div>
<!-- Date -->
<div