From f29e3263b04fd2ecbd42e864e03abc15439b4a1b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 5 Feb 2012 00:16:25 -0800 Subject: follow up to #1702, add callout on component alignment in tabs/pills --- docs/assets/bootstrap.zip | Bin 52391 -> 52391 bytes docs/components.html | 7 ++++--- docs/templates/pages/components.mustache | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 3c655b03a..d3f2da9ad 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/components.html b/docs/components.html index 1c5bc5abe..06ca2560c 100644 --- a/docs/components.html +++ b/docs/components.html @@ -354,9 +354,10 @@

Powerful base class

All nav components here—tabs, pills, and lists—share the same base markup and styles through the .nav class.

-

Why tabs and pills

-

Tabs and pills in Bootstrap are built on a <ul> with the same core HTML, a list of links. Swap between tabs or pills with only a class.

-

Both options are great for sub-sections of content or navigating between pages of related content.

+

When to use

+

Tabs and pills are great for sections of content or navigating between pages of related content.

+

Component alignment

+

To align nav links, use the .pull-left or .pull-right utility classes. Both classes will add a CSS float in the specified direction.

Basic tabs

diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 1f466aa5d..0a7affafe 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -278,9 +278,10 @@

{{_i}}Powerful base class{{/i}}

{{_i}}All nav components here—tabs, pills, and lists—share the same base markup and styles through the .nav class.{{/i}}

-

{{_i}}Why tabs and pills{{/i}}

-

{{_i}}Tabs and pills in Bootstrap are built on a <ul> with the same core HTML, a list of links. Swap between tabs or pills with only a class.{{/i}}

-

{{_i}}Both options are great for sub-sections of content or navigating between pages of related content.{{/i}}

+

{{_i}}When to use{{/i}}

+

{{_i}}Tabs and pills are great for sections of content or navigating between pages of related content.{{/i}}

+

{{_i}}Component alignment{{/i}}

+

{{_i}}To align nav links, use the .pull-left or .pull-right utility classes. Both classes will add a CSS float in the specified direction.{{/i}}

{{_i}}Basic tabs{{/i}}

-- cgit v1.2.3