From 2ba15c375067aa23e6876caba1bc5a2313ca793b Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 14 Jan 2014 21:01:09 -0800 Subject: [PATCH 1/4] upgrade tooltip/popover-in-groups callout from info to warning --- docs/components.html | 4 ++-- docs/javascript.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/components.html b/docs/components.html index 4caa9e6f2..93d24238b 100644 --- a/docs/components.html +++ b/docs/components.html @@ -185,7 +185,7 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with our buttons plugin.

-
+

Tooltips & popovers in button groups require special setting

When using tooltips or popovers on elements within a .btn-group, you'll have to specify the option container: 'body' to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).

@@ -755,7 +755,7 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

Cross-browser compatibility

Avoid using <select> elements here as they cannot be fully styled in WebKit browsers.

-
+

Tooltips & popovers in input groups require special setting

When using tooltips or popovers on elements within an .input-group, you'll have to specify the option container: 'body' to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).

diff --git a/docs/javascript.html b/docs/javascript.html index d7035d661..b568ff7a7 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -925,7 +925,7 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {

Opt-in functionality

For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.

-
+

Tooltips in button groups and input groups require special setting

When using tooltips on elements within a .btn-group or an .input-group, you'll have to specify the option container: 'body' (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip is triggered).

@@ -1110,7 +1110,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {

Opt-in functionality

For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.

-
+

Popovers in button groups and input groups require special setting

When using popovers on elements within a .btn-group or an .input-group, you'll have to specify the option container: 'body' (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).

From 811639c4528d9b6f96f4800a807cf8769fa765fc Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 14 Jan 2014 21:02:06 -0800 Subject: [PATCH 2/4] downgrade
-
+

Always add labels

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the .sr-only class.

diff --git a/docs/css.html b/docs/css.html index d8d6b8bb5..add93b16f 100644 --- a/docs/css.html +++ b/docs/css.html @@ -1588,7 +1588,7 @@ For example, <section> should be wrapped as inline.

Requires custom widths

Inputs, selects, and textareas are 100% wide by default in Bootstrap. To use the inline form, you'll have to set a width on the form controls used within.

-
+

Always add labels

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the .sr-only class.

From 76e226b136c27e164a9864ad7690d0705a2906fb Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 14 Jan 2014 21:02:56 -0800 Subject: [PATCH 3/4] upgrade form-group + input-group callout from info to warning --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components.html b/docs/components.html index c96219834..a400d216d 100644 --- a/docs/components.html +++ b/docs/components.html @@ -759,7 +759,7 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

Tooltips & popovers in input groups require special setting

When using tooltips or popovers on elements within an .input-group, you'll have to specify the option container: 'body' to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).

-
+

Don't mix with other components

Do not mix form group or grid column classes directly with input groups.

From 488443c9ad477ebd7f3c22db5caf088faf08f31a Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 14 Jan 2014 21:03:49 -0800 Subject: [PATCH 4/4] downgrade .img-responsive cross-reference callout from warning to info --- docs/css.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/css.html b/docs/css.html index add93b16f..643d1dc0e 100644 --- a/docs/css.html +++ b/docs/css.html @@ -2369,7 +2369,7 @@ For example, <section> should be wrapped as inline. ... {% endhighlight %} -
+

Responsive images

Looking for how to make images more responsive? Check out the responsive images section up top.