From 5ab638d8ed7956b45e8622252e79d88c429956bf Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Wed, 24 Aug 2022 10:08:15 +0200 Subject: 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 --- layouts/_default/list.html | 8 ++++---- layouts/partials/index/incidents.html | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'layouts') 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 @@
{{ if $paginator.HasPrev }} - ⭠   + ←   {{ T "prev" }} {{ else }} - ⭠   + ←   {{ T "prev" }} {{ end }} @@ -97,12 +97,12 @@ {{ if $paginator.HasNext }} {{ T "next" }}   - ⭢ + → {{ else }} {{ T "next" }}   - ⭢ + → {{ end }}
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 @@
{{ if $paginator.HasPrev }} - ⭠   + ←   {{ T "prev" }} {{ else }} - ⭠   + ←   {{ T "prev" }} {{ end }} @@ -48,14 +48,14 @@ {{ if $paginator.HasNext }} {{ T "next" }}   - ⭢ + → {{ else }} {{ T "next" }}   - ⭢ + → {{ end }}
{{ end }} -{{ end }} \ No newline at end of file +{{ end }} -- cgit v1.2.3-70-g09d2