From aff47ab1f9b11271ac69d0fee64025f5e26b621c Mon Sep 17 00:00:00 2001 From: Jordan Date: Mon, 1 Nov 2021 22:50:33 -0700 Subject: wrap category names in a nowrap --- templates/admin-edit.html | 2 +- templates/admin.html | 2 +- templates/index.html | 2 +- templates/layout.html | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/admin-edit.html b/templates/admin-edit.html index 7b30294..f28518b 100644 --- a/templates/admin-edit.html +++ b/templates/admin-edit.html @@ -20,7 +20,7 @@
- {{ range $category, $paper := .Papers.List }}[{{ $category }}] {{ end }} + {{ range $category, $paper := .Papers.List }}[{{ $category }}] {{ end }}
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 @@
{{ if gt $categoryCount 0 }}
- {{ range $category, $paper := .Papers.List }}[{{ $category }}] {{ end }} + {{ range $category, $paper := .Papers.List }}[{{ $category }}] {{ end }}
diff --git a/templates/index.html b/templates/index.html index 294ecea..d435a38 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,7 @@ {{ $categoryCount := len .Papers.List }} {{ if gt $categoryCount 0 }}
- {{ range $category, $paper := .Papers.List }}[{{ $category }}] {{ end }} + {{ range $category, $paper := .Papers.List }}[{{ $category }}] {{ end }}
diff --git a/templates/layout.html b/templates/layout.html index 57dc200..c776582 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -226,6 +226,10 @@ div#crane div.footer a { div#crane div.footer a:hover { text-decoration: underline; } + +div#crane div.cat .nowrap { + white-space: nowrap; +} -- cgit v1.2.3-54-g00ecf