diff --git a/caddy/setup/browse.go b/caddy/setup/browse.go index 1250659b..40d5746e 100644 --- a/caddy/setup/browse.go +++ b/caddy/setup/browse.go @@ -182,6 +182,7 @@ th { padding-top: 15px; padding-bottom: 15px; font-size: 16px; + white-space: nowrap; } th a { @@ -198,8 +199,6 @@ td { td:first-child { width: 50%; - overflow-wrap: break-word; - word-break: break-word; } th:last-child, @@ -207,6 +206,16 @@ td:last-child { text-align: right; } +td:first-child svg { + position: absolute; +} + +td .name { + margin-left: 1.75em; + word-break: break-all; + overflow-wrap: break-word; +} + footer { padding: 40px 20px; font-size: 12px; @@ -335,13 +344,13 @@ footer { {{range .Items}} - + {{if .IsDir}} {{else}} {{end}} - {{.Name}} + {{.Name}} {{.HumanSize}}