aboutsummaryrefslogtreecommitdiff
path: root/docs/components/scrollspy.md
diff options
context:
space:
mode:
authorThomas McDonald <[email protected]>2015-08-24 16:19:19 -0700
committerThomas McDonald <[email protected]>2015-08-24 16:19:19 -0700
commit22717a12426af5567f65be1da3d4d968c22276a7 (patch)
tree491c47f72160c5b1133fa138c1fbacd00e253377 /docs/components/scrollspy.md
parentec523617a3eb6da5b3e14f878931c769999f89a7 (diff)
parent0da684ff8501768c0ecd4c60c0c7cf043bde1a1d (diff)
downloadbootstrap-22717a12426af5567f65be1da3d4d968c22276a7.tar.xz
bootstrap-22717a12426af5567f65be1da3d4d968c22276a7.zip
Merge branch 'v4-dev' into fix-travis-v4
Diffstat (limited to 'docs/components/scrollspy.md')
-rw-r--r--docs/components/scrollspy.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/components/scrollspy.md b/docs/components/scrollspy.md
index efe8c8145..c2625a04b 100644
--- a/docs/components/scrollspy.md
+++ b/docs/components/scrollspy.md
@@ -1,6 +1,6 @@
---
layout: docs
-title: Srollspy
+title: Scrollspy
group: components
---
@@ -19,14 +19,14 @@ The ScrollSpy plugin is for automatically updating nav targets based on scroll p
<ul class="nav nav-pills">
<li class="nav-item"><a class="nav-link" href="#fat">@fat</a></li>
<li class="nav-item"><a class="nav-link" href="#mdo">@mdo</a></li>
- <li class="nav-item">
+ <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
- <ul class="dropdown-menu">
- <li><a href="#one">one</a></li>
- <li><a href="#two">two</a></li>
- <li role="separator" class="divider"></li>
- <li><a href="#three">three</a></li>
- </ul>
+ <div class="dropdown-menu">
+ <a class="dropdown-item" href="#one">one</a>
+ <a class="dropdown-item" href="#two">two</a>
+ <div role="separator" class="dropdown-divider"></div>
+ <a class="dropdown-item" href="#three">three</a>
+ </div>
</li>
</ul>
</nav>
@@ -51,7 +51,7 @@ The ScrollSpy plugin is for automatically updating nav targets based on scroll p
### Requires Bootstrap nav
-Scrollspy currently requires the use of a [Bootstrap nav component](/components/nav/) for proper highlighting of active links.
+Scrollspy currently requires the use of a [Bootstrap nav component]({{ site.baseurl }}/components/nav/) for proper highlighting of active links.
### Requires relative positioning