fixed back button

This commit is contained in:
ebby 2026-07-28 10:57:37 +02:00
parent 1ddbd466a3
commit 5108d5eacc
2 changed files with 4 additions and 5 deletions

View file

@ -1,15 +1,14 @@
--- ---
---
--- <a href={Astro.request.headers.get('referer') || '/'}>
<a class="no-link-link" href="javascript:history.back()">
<button class="rounded">zurück</button> <button class="rounded">zurück</button>
</a> </a>
<style> <style>
button { button {
padding: 12px 24px; padding: 12px 24px;
margin: 8px 0 16px 64px; margin: 8px 0 16px 0px;
border-style: none; border-style: none;
} }
</style> </style>

View file

@ -30,8 +30,8 @@ const titleImg = findImageByPath(frontmatter.image.path);
</div> </div>
<hr /> <hr />
<slot /> <slot />
</article>
<BackNav /> <BackNav />
</article>
</Main> </Main>
<style> <style>