aboutsummaryrefslogtreecommitdiff
path: root/templates/admin.html
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2021-11-01 22:50:33 -0700
committerJordan <me@jordan.im>2021-11-01 22:50:33 -0700
commitaff47ab1f9b11271ac69d0fee64025f5e26b621c (patch)
treeefe8c4fefe6c0bb7b0170f69fbde40306ee19398 /templates/admin.html
parent2120238760d974f2b0f5cc99faa7ecaf23989bf2 (diff)
downloadcrane-aff47ab1f9b11271ac69d0fee64025f5e26b621c.tar.gz
crane-aff47ab1f9b11271ac69d0fee64025f5e26b621c.zip
wrap category names in a nowrap <span>
Diffstat (limited to 'templates/admin.html')
-rw-r--r--templates/admin.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin.html b/templates/admin.html
index 05cf04f..8573e23 100644
--- a/templates/admin.html
+++ b/templates/admin.html
@@ -39,7 +39,7 @@
</table>
{{ if gt $categoryCount 0 }}
<div class="cat">
- <span>{{ range $category, $paper := .Papers.List }}[<a href="#{{ $category }}">{{ $category }}</a>] {{ end }}</span>
+ <span>{{ range $category, $paper := .Papers.List }}<span class="nowrap">[<a href="#{{ $category }}">{{ $category }}</a>]</span> {{ end }}</span>
</div>
<table class='tabs'>
<tr>