fixed back button
This commit is contained in:
parent
1ddbd466a3
commit
5108d5eacc
2 changed files with 4 additions and 5 deletions
|
|
@ -1,15 +1,14 @@
|
|||
---
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
<a class="no-link-link" href="javascript:history.back()">
|
||||
<a href={Astro.request.headers.get('referer') || '/'}>
|
||||
<button class="rounded">zurück</button>
|
||||
</a>
|
||||
|
||||
<style>
|
||||
button {
|
||||
padding: 12px 24px;
|
||||
margin: 8px 0 16px 64px;
|
||||
margin: 8px 0 16px 0px;
|
||||
border-style: none;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ const titleImg = findImageByPath(frontmatter.image.path);
|
|||
</div>
|
||||
<hr />
|
||||
<slot />
|
||||
</article>
|
||||
<BackNav />
|
||||
</article>
|
||||
</Main>
|
||||
|
||||
<style>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue