aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-05 00:38:36 -0700
committerMark Otto <[email protected]>2015-08-05 00:38:36 -0700
commitd80f26fe491d21a35b09894932806fc027de329a (patch)
tree53298d36a72cfd302e40a6b193c25dcf63e70051 /docs/_includes
parent0156fc1c9d929b631eea0f61cd39fb789993a3fb (diff)
downloadbootstrap-d80f26fe491d21a35b09894932806fc027de329a.tar.xz
bootstrap-d80f26fe491d21a35b09894932806fc027de329a.zip
unaffix sidebar and simplify styles of docs side nav to be more like v3
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/nav-docs.html13
1 files changed, 3 insertions, 10 deletions
diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html
index e87c182da..ce094fd15 100644
--- a/docs/_includes/nav-docs.html
+++ b/docs/_includes/nav-docs.html
@@ -1,18 +1,11 @@
-<header class="navbar navbar-static-top bd-sidebar" id="top" role="banner">
- <a href="{{ site.baseurl }}/" class="navbar-brand">
- Bootstrap 4 Alpha
- </a>
-
- <button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#docsNavbarContent">
- &#9776;
- </button>
+<div class="bd-sidebar">
<form class="bd-search hidden-sm-down">
<input type="text" class="form-control" id="search-input" placeholder="Search...">
<ul class="dropdown-menu bd-search-results" id="search-results"></ul>
</form>
- <nav class="bd-links collapse navbar-toggleable-xs" id="docsNavbarContent">
+ <nav class="bd-links" id="docsNavbarContent">
{% for group in site.data.nav %}
{% assign link = group.pages | first %}
{% assign slug = group.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' %}
@@ -64,4 +57,4 @@
</div>
{% endfor %}
</nav>
-</header>
+</div>