Skip to content

Commit 5edc669

Browse files
authored
Merge pull request carpentries#174 from IanLee1521/fix-episode-nav-wrapping
Fix episode nav wrapping
2 parents 745e85d + b54dcce commit 5edc669

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_includes/episode_navbar.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
Navigation bar for an episode.
33
{% endcomment %}
44
<div class="row">
5-
<div class="col-md-1">
6-
<h3>
5+
<div class="col-xs-1">
6+
<h3 class="text-left">
77
{% if page.previous.url %}
88
<a href="{{ page.root }}{{ page.previous.url }}"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span><span class="sr-only">previous episode</span></a>
99
{% else %}
1010
<a href="{{ page.root }}/"><span class="glyphicon glyphicon-menu-up" aria-hidden="true"></span><span class="sr-only">lesson home</span></a>
1111
{% endif %}
1212
</h3>
1313
</div>
14-
<div class="col-md-10">
14+
<div class="col-xs-10">
1515
{% if include.episode_navbar_title %}
1616
<h3 class="maintitle"><a href="{{ page.root }}/">{{ site.title }}</a></h3>
1717
{% endif %}
1818
</div>
19-
<div class="col-md-1">
20-
<h3>
19+
<div class="col-xs-1">
20+
<h3 class="text-right">
2121
{% if page.next.url %}
2222
<a href="{{ page.root }}{{ page.next.url }}"><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span><span class="sr-only">next episode</span></a>
2323
{% else %}

0 commit comments

Comments
 (0)