Skip to content

Commit

Permalink
Fix for black space on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
johndmulhausen committed Mar 2, 2017
1 parent 02bb0de commit 1b62d79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1>{{ page.title }}</h1>{% endif %} {% if page.advisory %}
</section>
</main>
<nav class="col-nav">
<div class="sidebar{% if page.landing == true %}-home{%else%}{% endif %}">
<div class="sidebar{% if page.landing == true %}-home{%else%}{% endif %} hidden-sm hidden-xs">
{% include side-menu.html %}
</div>
</nav>
Expand Down
2 changes: 2 additions & 0 deletions js/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ if (readCookie("night") == "true") {
$("#menu-toggle").click(function(e) {
e.preventDefault();
$(".wrapper").toggleClass("right-open");
$(".sidebar, sidebar-home").toggleClass("hidden-sm");
$(".sidebar, sidebar-home").toggleClass("hidden-xs");
});

var navHeight = $('.navbar').outerHeight(true) + 80;
Expand Down

0 comments on commit 1b62d79

Please sign in to comment.