mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 03:56:19 +02:00
fix: back button position
This commit is contained in:
parent
f54cacfedc
commit
7c12dbd301
2 changed files with 14 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue