Skip to content

Commit

Permalink
Converted to col-xs-* from col-md-* classes for navbar div
Browse files Browse the repository at this point in the history
By doing this, when a page is heavily zoomed in (e.g. 500%) the navbar
icons stay in the same row, rather than breaking onto two different rows.
  • Loading branch information
IanLee1521 committed Oct 11, 2017
1 parent 745e85d commit d20077a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/episode_navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Navigation bar for an episode.
{% endcomment %}
<div class="row">
<div class="col-md-1">
<div class="col-xs-1">
<h3>
{% if page.previous.url %}
<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>
Expand All @@ -11,12 +11,12 @@ <h3>
{% endif %}
</h3>
</div>
<div class="col-md-10">
<div class="col-xs-10">
{% if include.episode_navbar_title %}
<h3 class="maintitle"><a href="{{ page.root }}/">{{ site.title }}</a></h3>
{% endif %}
</div>
<div class="col-md-1">
<div class="col-xs-1">
<h3>
{% if page.next.url %}
<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>
Expand Down

0 comments on commit d20077a

Please sign in to comment.