From f29e3263b04fd2ecbd42e864e03abc15439b4a1b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 5 Feb 2012 00:16:25 -0800 Subject: [PATCH] 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(-) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 3c655b03a1dc2174c6325d0e3691c9371c5ca2fd..d3f2da9ad2106e660e66d763f57ad33d936dc9ca 100644 GIT binary patch delta 445 zc-mV&lX>|}W}X0VW)?065MW}O$fKxy*hGCE2^lq3gN4>lR6%vt|b$#o~hnT~)&WkDj_ zPIx2nlur61@g|*gfanMFKA&`f$RU|#j3mG2R3H*h?zA_W-Cd`Rkj%b&+78A8I^O1t L6BE#P4QJE=(0P|F delta 445 zc-mV&lX>|}W}X0VW)?065b$A~$fKy7Z>i^B0K}yg+zgB?-x(PgSVVx5D9Qp<*$TkQ zCi4|YGXVu=*g^$1-af?v6qvl6(-A7N`5k89qn#NOH3YOelEsUJ;Ox&7Mi8v)Qx$cBGQvpa+79_Imgf|jT z>7+jrZ_-Hzh<-5d^GO$o9Fl3qNb+k=1tRg}PJ5%--F4as$?UtQ?T~mjXPiL1hBN8_ DdMlCw 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}}

-- 2.47.3