aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Hoffmann <ch@bitfehler.net>2022-08-24 10:08:15 +0200
committerConrad Hoffmann <ch@bitfehler.net>2022-08-24 16:28:18 +0200
commit5ab638d8ed7956b45e8622252e79d88c429956bf (patch)
tree21d496dac35e0edf533e6b9886dc8ee48eb24713
parent44f87a0c23691761661ef98b862f18d5747c0153 (diff)
layout: use simple arrows as list pagination icons
The currently used "triangle-headed" arrows are from the Unicode code block "Supplemental Arrows-C" [1], which seems to be not widely supported. This also applies to e.g. Roboto, which is being explicitly used in the CSS. Instead, use the "simple" arrows from the "Arrows" block, which is much more widely supported by fonts. [1]: https://en.wikipedia.org/wiki/Supplemental_Arrows-C closes #242
-rw-r--r--layouts/_default/list.html8
-rw-r--r--layouts/partials/index/incidents.html10
2 files changed, 9 insertions, 9 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 46142eb..51605c1 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -76,12 +76,12 @@
<div class="center">
{{ if $paginator.HasPrev }}
<a href="{{ $paginator.Prev.URL }}#incidents">
- ⭠ &nbsp;
+ ← &nbsp;
{{ T "prev" }}
</a>
{{ else }}
<span class="faded">
- ⭠ &nbsp;
+ ← &nbsp;
{{ T "prev" }}
</span>
{{ end }}
@@ -97,12 +97,12 @@
{{ if $paginator.HasNext }}
<a href="{{ $paginator.Next.URL }}#incidents">
{{ T "next" }} &nbsp;
- ⭢
+ →
</a>
{{ else }}
<span class="faded">
{{ T "next" }} &nbsp;
- ⭢
+ →
</span>
{{ end }}
</div>
diff --git a/layouts/partials/index/incidents.html b/layouts/partials/index/incidents.html
index bf312e9..d627997 100644
--- a/layouts/partials/index/incidents.html
+++ b/layouts/partials/index/incidents.html
@@ -27,12 +27,12 @@
<div class="center">
{{ if $paginator.HasPrev }}
<a href="{{ $paginator.Prev.URL }}#incidents">
- ⭠ &nbsp;
+ ← &nbsp;
{{ T "prev" }}
</a>
{{ else }}
<span class="faded">
- ⭠ &nbsp;
+ ← &nbsp;
{{ T "prev" }}
</span>
{{ end }}
@@ -48,14 +48,14 @@
{{ if $paginator.HasNext }}
<a href="{{ $paginator.Next.URL }}#incidents">
{{ T "next" }} &nbsp;
- ⭢
+ →
</a>
{{ else }}
<span class="faded">
{{ T "next" }} &nbsp;
- ⭢
+ →
</span>
{{ end }}
</div>
{{ end }}
-{{ end }} \ No newline at end of file
+{{ end }}