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> </script>
<template> <template>
<button class="button is-small is-white back-button" @click="goBack"> <a class="btn btn-sm back-button" @click="goBack">
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-arrow-narrow-left" 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="16" />
<line x1="5" y1="12" x2="9" y2="8" /> <line x1="5" y1="12" x2="9" y2="8" />
</svg> </svg>
return </a>
</button>
</template> </template>

View File

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