diff options
-rw-r--r-- | templates/admin-edit.html | 2 | ||||
-rw-r--r-- | templates/admin.html | 2 | ||||
-rw-r--r-- | templates/index.html | 2 | ||||
-rw-r--r-- | templates/layout.html | 4 |
4 files changed, 7 insertions, 3 deletions
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 @@ </tr> </table> <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> 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> 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 }} <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> 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; +} </style> </head> <body> |