Make logo 48px

This commit is contained in:
Pim van Pelt
2025-12-03 12:39:37 +01:00
parent 99ad6fbff1
commit 0b687bf9d9

View File

@@ -461,6 +461,15 @@ const htmlTemplateString = `<!DOCTYPE html>
padding-top: 25px;
padding-bottom: 15px;
background-color: #f2f2f2;
display: flex;
align-items: center;
}
.watermark {
height: 48px;
width: auto;
margin-right: 12px;
flex-shrink: 0;
}
h1 {
@@ -470,15 +479,8 @@ const htmlTemplateString = `<!DOCTYPE html>
overflow-x: hidden;
text-overflow: ellipsis;
color: #999;
display: flex;
align-items: center;
}
.watermark {
height: 24px;
width: auto;
margin-right: 8px;
vertical-align: middle;
margin: 0;
flex: 1;
}
h1 a {
@@ -955,7 +957,8 @@ const htmlTemplateString = `<!DOCTYPE html>
</defs>
</svg>
<header>
<h1>{{if .WatermarkURL}}<img src="{{.WatermarkURL}}" class="watermark" alt="Logo">{{end}}{{.DirName}}</h1>
{{if .WatermarkURL}}<img src="{{.WatermarkURL}}" class="watermark" alt="Logo">{{end}}
<h1>{{.DirName}}</h1>
</header>
<main>
<div class="listing">