Use compact back icon in header

This commit is contained in:
Arne
2026-08-06 21:07:40 +02:00
parent 5757e6bbea
commit 229c1520ef
+1 -3
View File
@@ -18,9 +18,7 @@ templ Layout(title string, backHref string) {
<header class="header"> <header class="header">
<div class="header-bar"> <div class="header-bar">
if backHref != "" { if backHref != "" {
<a class="header-back" href={ backHref }> Zurück</a> <a class="header-back" href={ backHref } aria-label="Zurück"></a>
} else {
<span class="header-back header-back-placeholder" aria-hidden="true"></span>
} }
<h1><a href="/">eBook Library</a></h1> <h1><a href="/">eBook Library</a></h1>
</div> </div>