Skip to content

Commit e2128b7

Browse files
authored
Merge pull request #71 from Sybit-Education/feat/btn-fix
Fixed back button
2 parents 70db34e + 8d7572d commit e2128b7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/app/components/detail/detail.component.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@
3737
</div>
3838
}
3939
<div class="buttons mt-6 flex gap-4">
40-
<button type="button" class="btn" onclick="history.back()">
41-
<i class="bi bi-arrow-left"></i>
42-
<p class="ml-2">Zurück</p>
40+
<button type="button" class="btn">
41+
<a class="flex items-center" onclick="history.back()">
42+
<i class="bi bi-arrow-left"></i>
43+
<p class="ml-2">Zurück</p>
44+
</a>
4345
</button>
4446
@if (activity?.website) {
4547
<button type="button" class="btn">

0 commit comments

Comments
 (0)