git-preview @ main

static git web frontend but with images and html previews + code truncation

css: fix table overflow
Sun, 19 Mar 2023
2 files changed, 19 insertions(+), 12 deletions(-)
M static/style.css

@@ -258,6 +258,7 @@ grid-template-columns: 1rem minmax(0, 1fr);

gap: 1rem; padding: 0.5rem; background: var(--light-gray); + overflow-x: auto; } .file-content {
M templates/file.html

@@ -1,23 +1,29 @@

{{ define "file" }} <html> -{{ template "head" . }} + {{ template "head" . }} {{ template "repoheader" . }} <body> {{ template "nav" . }} <main> <p>{{ .path }}</p> <div class="file-wrapper">

… preview truncated