summaryrefslogtreecommitdiffstats
path: root/templates/page.html
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-03-31 17:38:26 -0700
committerSamy Pessé <samypesse@gmail.com>2014-03-31 17:38:28 -0700
commit91a916e1468d8b775facb11c5b5c35dcb19d37d9 (patch)
treeb8b0e6ea7bcc0fa61d5297320082d1913db23146 /templates/page.html
parent752b26e963a231a55ffd3fe60e789635d4e9e6d6 (diff)
downloadgitbook-91a916e1468d8b775facb11c5b5c35dcb19d37d9.zip
gitbook-91a916e1468d8b775facb11c5b5c35dcb19d37d9.tar.gz
gitbook-91a916e1468d8b775facb11c5b5c35dcb19d37d9.tar.bz2
Improve navigation on mobile resolutions
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.html b/templates/page.html
index 5a8d422..ea52576 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -28,10 +28,10 @@
<a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link">Start this book</a>
{% else %}
{% if navigation.prev %}
- <a href="{{ basePath }}/{{ navigation.prev.path }}" class="navigation-link"><i class="fa fa-chevron-left"></i> {{ navigation.prev.title }}</a>
+ <a href="{{ basePath }}/{{ navigation.prev.path }}" class="navigation-link prev"><i class="fa fa-chevron-left"></i> <span>{{ navigation.prev.title }}</span></a>
{% endif %}
{% if navigation.next %}
- <a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link">{{ navigation.next.title }} <i class="fa fa-chevron-right"></i></a>
+ <a href="{{ basePath }}/{{ navigation.next.path }}" class="navigation-link next"><span>{{ navigation.next.title }}</span> <i class="fa fa-chevron-right"></i></a>
{% endif %}
{% endif %}
</div>