Use compact back icon in header
This commit is contained in:
+1
-3
@@ -18,9 +18,7 @@ templ Layout(title string, backHref string) {
|
||||
<header class="header">
|
||||
<div class="header-bar">
|
||||
if backHref != "" {
|
||||
<a class="header-back" href={ backHref }>← Zurück</a>
|
||||
} else {
|
||||
<span class="header-back header-back-placeholder" aria-hidden="true"></span>
|
||||
<a class="header-back" href={ backHref } aria-label="Zurück">←</a>
|
||||
}
|
||||
<h1><a href="/">eBook Library</a></h1>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user