aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_commit.html.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-14 17:08:00 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-14 17:08:00 +0800
commit77d4e60f2c8f0ba970be49b719d3b21c2a2860c8 (patch)
treeac0b884550c65d167fadaf84f233609d2bf69d5a /templates/repo_commit.html.tmpl
parentREADME.md: Clarify how MR emails work (diff)
downloadforge-77d4e60f2c8f0ba970be49b719d3b21c2a2860c8.tar.gz
forge-77d4e60f2c8f0ba970be49b719d3b21c2a2860c8.tar.zst
forge-77d4e60f2c8f0ba970be49b719d3b21c2a2860c8.zip
style.css, repo_index: Use div, not table, for expandables
Diffstat (limited to 'templates/repo_commit.html.tmpl')
-rw-r--r--templates/repo_commit.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_commit.html.tmpl b/templates/repo_commit.html.tmpl
index d07845b..8797092 100644
--- a/templates/repo_commit.html.tmpl
+++ b/templates/repo_commit.html.tmpl
@@ -53,7 +53,7 @@
<div class="file-patch toggle-on-wrapper">
<input type="checkbox" id="toggle-{{ .From.Hash }}{{ .To.Hash }}" class="file-toggle toggle-on-toggle">
<label for="toggle-{{ .From.Hash }}{{ .To.Hash }}" class="file-header toggle-on-header">
- <span>
+ <div>
{{ if eq .From.Path "" }}
--- /dev/null
{{ else }}
@@ -65,7 +65,7 @@
{{ else }}
+++ b/<a href="../tree/{{ .To.Path }}?commit={{ $commit_object.Hash }}">{{ .To.Path }}</a> {{ .To.Mode }}
{{ end }}
- </span>
+ </div>
</label>
<div class="file-content toggle-on-content scroll">
{{ range .Chunks }}