summaryrefslogtreecommitdiffstats
path: root/theme/templates/site.html
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-05-01 17:37:38 +0200
committerSamy Pessé <samypesse@gmail.com>2014-05-01 17:37:38 +0200
commit7497acd2e38a7e1a69dfb3a3e94e69e6d80bfa6c (patch)
treea567bfaa53a26ed3e9eb5dd1194c070a710073d4 /theme/templates/site.html
parentae137885b8f90d15d927346a1fa7ccb371ec6fbd (diff)
downloadgitbook-7497acd2e38a7e1a69dfb3a3e94e69e6d80bfa6c.zip
gitbook-7497acd2e38a7e1a69dfb3a3e94e69e6d80bfa6c.tar.gz
gitbook-7497acd2e38a7e1a69dfb3a3e94e69e6d80bfa6c.tar.bz2
Center navigation button on mobile on start page
Diffstat (limited to 'theme/templates/site.html')
-rw-r--r--theme/templates/site.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/templates/site.html b/theme/templates/site.html
index 7193f7f..13438ed 100644
--- a/theme/templates/site.html
+++ b/theme/templates/site.html
@@ -28,10 +28,10 @@
</div>
{% if progress.current.prev and progress.current.prev.path %}
- <a href="{{ basePath }}/{{ progress.current.prev.path|mdLink }}" class="navigation navigation-prev"><i class="fa fa-angle-left"></i></a>
+ <a href="{{ basePath }}/{{ progress.current.prev.path|mdLink }}" class="navigation navigation-prev {% if !progress.current.next or !progress.current.next.path %}navigation-unique{% endif %}"><i class="fa fa-angle-left"></i></a>
{% endif %}
{% if progress.current.next and progress.current.next.path %}
- <a href="{{ basePath }}/{{ progress.current.next.path|mdLink }}" class="navigation navigation-next"><i class="fa fa-angle-right"></i></a>
+ <a href="{{ basePath }}/{{ progress.current.next.path|mdLink }}" class="navigation navigation-next {% if !progress.current.prev or !progress.current.prev.path %}navigation-unique{% endif %}"><i class="fa fa-angle-right"></i></a>
{% endif %}
</div>
</div>