fix: back button position

This commit is contained in:
radishzzz 2025-05-26 12:03:12 +01:00
parent 1318a213c7
commit 68525c8c41
2 changed files with 12 additions and 14 deletions

View file

@ -107,19 +107,17 @@ const { Content, headings, remarkPluginFrontmatter } = await render(post)
supportedLangs={supportedLangs}
>
<article class="heti mb-12.6">
<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>
<!-- 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>
<!-- Date -->
<div