fix: back button style

This commit is contained in:
Julien Calixte
2026-02-14 21:45:44 +01:00
parent 27867081f3
commit 459a0d6219
2 changed files with 4 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ const goBack = () => router.back()
</script>
<template>
<button class="button is-small is-white back-button" @click="goBack">
<a class="btn btn-sm back-button" @click="goBack">
<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-arrow-narrow-left"
@@ -23,6 +23,5 @@ const goBack = () => router.back()
<line x1="5" y1="12" x2="9" y2="16" />
<line x1="5" y1="12" x2="9" y2="8" />
</svg>
return
</button>
</a>
</template>

View File

@@ -58,7 +58,7 @@ const getAlias = (did: string) =>
</li>
</ul>
</div>
<BackButton />
<BackButton class="back-button" />
</main>
</template>
@@ -73,7 +73,7 @@ const getAlias = (did: string) =>
margin-top: 1rem;
}
a.back-button {
.back-button {
display: flex;
gap: 0.5rem;
align-items: center;