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 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>
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,8 @@ const titleImg = findImageByPath(frontmatter.image.path);
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<slot />
|
<slot />
|
||||||
</article>
|
|
||||||
<BackNav />
|
<BackNav />
|
||||||
|
</article>
|
||||||
</Main>
|
</Main>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue