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