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">
|
<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>
|
||||||
|
|||||||
Reference in New Issue
Block a user