Skip to content

Commit

Permalink
Hide sidebar on mobile home pages.
Browse files Browse the repository at this point in the history
Fixes #913
  • Loading branch information
jayhesselberth committed Nov 22, 2018
1 parent 7b21c86 commit a0769e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.md
@@ -1,5 +1,7 @@
# pkgdown 1.2.0.9000

* Fix sidebar hiding on mobile home pages (#913).

* Restore accidentally removed `docsearch.css` file.

# pkgdown 1.2.0
Expand Down
2 changes: 1 addition & 1 deletion inst/templates/content-home.html
Expand Up @@ -3,7 +3,7 @@
{{{index}}}
</div>

<div class="col-md-3" id="sidebar">
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
{{#sidebar}}
{{{.}}}
{{/sidebar}}
Expand Down

0 comments on commit a0769e8

Please sign in to comment.