Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hollowell <johnahollowell@gmail.com>2020-05-05 01:09:52 +0300
committerJulian <julian@vantage-design.com>2020-05-11 15:43:27 +0300
commit2582f9d8a095900d94b20a5d9c7d389a47fcd23a (patch)
treeee22c56b1fda1826885520731e5a75d8e898ef33 /layouts
parent2d104aa739e6d4e95f15db124d82f81625a0a0d0 (diff)
Fix minifier error with spacing in next-prev-page
when using --minify, the space characters used for padding are removed. Adding a p-1 class to the chevrons is sufficient to fix this
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/next-prev-page.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/next-prev-page.html b/layouts/partials/next-prev-page.html
index 20c7b93..5a84b3a 100644
--- a/layouts/partials/next-prev-page.html
+++ b/layouts/partials/next-prev-page.html
@@ -38,10 +38,10 @@
<div class="d-flex justify-content-center">
{{- if not $.Site.Params.disableNavChevron -}}
{{- with ($.Scratch.Get "prevPage") -}}
- <a class="p-1 mr-3 d-inline-block text-white" href="{{.RelPermalink}}" title="{{.Title}}"> <i class="fas fa-chevron-left"></i> {{.Title}}</a>
+ <a class="p-1 mr-3 d-inline-block text-white" href="{{.RelPermalink}}" title="{{.Title}}"><i class="fas fa-chevron-left p-1"></i>{{.Title}}</a>
{{ end -}}
{{- with ($.Scratch.Get "nextPage") -}}
- <a class="p-1 ml-3 d-inline-block text-white text-right" href="{{.RelPermalink}}" title="{{.Title}}">{{.Title}} <i class="fas fa-chevron-right"></i></a>
+ <a class="p-1 ml-3 d-inline-block text-white text-right" href="{{.RelPermalink}}" title="{{.Title}}">{{.Title}}<i class="fas fa-chevron-right p-1"></i></a>
{{- end }}
{{- end -}}
</div>