Repository: bahir-website Updated Branches: refs/heads/master f01c095d0 -> 3c13a7736
[BAHIR-40] Fix navigation toggle for small displays. The navigation toggle is not working on mobile resolutions. By setting the data-target to an id or in this case the element with a certain class this is fixed. Closes #2 Project: http://git-wip-us.apache.org/repos/asf/bahir-website/repo Commit: http://git-wip-us.apache.org/repos/asf/bahir-website/commit/3c13a773 Tree: http://git-wip-us.apache.org/repos/asf/bahir-website/tree/3c13a773 Diff: http://git-wip-us.apache.org/repos/asf/bahir-website/diff/3c13a773 Branch: refs/heads/master Commit: 3c13a77369247c871b306dbde1fc8a1c25228315 Parents: f01c095 Author: Jeroen Reijn <[email protected]> Authored: Fri Jul 15 13:08:06 2016 +0200 Committer: Luciano Resende <[email protected]> Committed: Mon Aug 1 20:05:43 2016 +0300 ---------------------------------------------------------------------- site/_includes/themes/apache-clean/_navigation.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bahir-website/blob/3c13a773/site/_includes/themes/apache-clean/_navigation.html ---------------------------------------------------------------------- diff --git a/site/_includes/themes/apache-clean/_navigation.html b/site/_includes/themes/apache-clean/_navigation.html index 3b2ae82..693e1a6 100644 --- a/site/_includes/themes/apache-clean/_navigation.html +++ b/site/_includes/themes/apache-clean/_navigation.html @@ -19,7 +19,7 @@ <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header page-scroll"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> @@ -57,6 +57,3 @@ <!-- /.container --> </nav> </div> - - -
