diff --git a/internal/indexgen/indexgen.go b/internal/indexgen/indexgen.go
index 83e83c6..60541d2 100644
--- a/internal/indexgen/indexgen.go
+++ b/internal/indexgen/indexgen.go
@@ -461,6 +461,15 @@ const htmlTemplateString = `
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 = `
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 = `
- {{if .WatermarkURL}}
{{end}}{{.DirName}}
+ {{if .WatermarkURL}}
{{end}}
+ {{.DirName}}