summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--static/style.css10
-rw-r--r--templates/refs.html8
2 files changed, 6 insertions, 12 deletions
diff --git a/static/style.css b/static/style.css
index edb3538..a51ef34 100644
--- a/static/style.css
+++ b/static/style.css
@@ -213,16 +213,14 @@ a:hover {
padding-top: 0.7em;
}
-.refs {
- display: grid;
- grid-template-columns: 1fr 1fr;
- align-items: center;
-}
-
.refs pre {
white-space: pre-wrap;
}
+.refs strong {
+ padding-right: 1em;
+}
+
.line-numbers {
white-space: pre-line;
-moz-user-select: -moz-none;
diff --git a/templates/refs.html b/templates/refs.html
index 503a41e..8480856 100644
--- a/templates/refs.html
+++ b/templates/refs.html
@@ -16,8 +16,6 @@
{{ range .branches }}
<div>
<strong>{{ .Name.Short }}</strong>
- </div>
- <div>
<a href="/{{ $name }}/tree/{{ .Name.Short }}/">browse</a>
<a href="/{{ $name }}/log/{{ .Name.Short }}">log</a>
</div>
@@ -29,12 +27,10 @@
{{ range .tags }}
<div>
<strong>{{ .Name }}</strong>
- {{ if .Message }}
- <pre>{{ .Message }}</pre>
- </div>
- <div>
<a href="/{{ $name }}/tree/{{ .Name }}/">browse</a>
<a href="/{{ $name }}/log/{{ .Name }}">log</a>
+ {{ if .Message }}
+ <pre>{{ .Message }}</pre>
</div>
{{ end }}
{{ end }}