From: Mark Otto Date: Sun, 5 Feb 2012 08:16:25 +0000 (-0800) Subject: follow up to #1702, add callout on component alignment in tabs/pills X-Git-Tag: v2.0.1~1^2~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f29e3263b04fd2ecbd42e864e03abc15439b4a1b;p=thirdparty%2Fbootstrap.git follow up to #1702, add callout on component alignment in tabs/pills --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 3c655b03a1..d3f2da9ad2 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 1c5bc5abe2..06ca2560cc 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 1f466aa5dd..0a7affafee 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}}