From 9a475730dc62a5632350d74387e187c205881a45 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 8 Apr 2017 13:58:20 -0700 Subject: [PATCH] Docs and CSS updates for #21807 (#22336) * tweak some copy * fix up scrollspy docs * remove nav styles that were added * fix nav-based docs by requiring .nav-item on .nav-link --- docs/components/list-group.md | 6 ++--- docs/components/navs.md | 20 ++++++++-------- docs/components/scrollspy.md | 43 ++++++++++------------------------- scss/_nav.scss | 7 +----- 4 files changed, 26 insertions(+), 50 deletions(-) diff --git a/docs/components/list-group.md b/docs/components/list-group.md index 5dbb6db408..fcaa364fb2 100644 --- a/docs/components/list-group.md +++ b/docs/components/list-group.md @@ -309,7 +309,7 @@ Activates a list item element and content container. Tab should have either a `d #### .tab('show') -Selects the given list item and shows its associated pane. Any other list item that was previously selected becomes unselected and its associated pane is hidden. **Returns to the caller before the tab pane has actually been shown** (i.e. before the `shown.bs.tab` event occurs). +Selects the given list item and shows its associated pane. Any other list item that was previously selected becomes unselected and its associated pane is hidden. **Returns to the caller before the tab pane has actually been shown** (for example, before the `shown.bs.tab` event occurs). {% highlight js %} $('#someListItem').tab('show') @@ -324,12 +324,12 @@ When showing a new tab, the events fire in the following order: 3. `hidden.bs.tab` (on the previous active tab, the same one as for the `hide.bs.tab` event) 4. `shown.bs.tab` (on the newly-active just-shown tab, the same one as for the `show.bs.tab` event) -If no tab was already active, then the `hide.bs.tab` and `hidden.bs.tab` events will not be fired. +If no tab was already active, the `hide.bs.tab` and `hidden.bs.tab` events will not be fired. - + diff --git a/docs/components/navs.md b/docs/components/navs.md index 05a2bfa415..fec61ef5d6 100644 --- a/docs/components/navs.md +++ b/docs/components/navs.md @@ -358,11 +358,11 @@ Use the tab JavaScript plugin—include it individually or through the compiled To help fit your needs, this works with `
Event TypeEvent type Description