From: Mark Otto Date: Fri, 23 May 2014 03:14:32 +0000 (-0700) Subject: clarify and danger-ify affix docs usage requirements, per #10235 X-Git-Tag: v3.2.0~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef360b61b5eb79982e85d8c8380de69ef16395a6;p=thirdparty%2Fbootstrap.git clarify and danger-ify affix docs usage requirements, per #10235 --- diff --git a/docs/_includes/js/affix.html b/docs/_includes/js/affix.html index 5b6fec0bb4..4ce51cb34b 100644 --- a/docs/_includes/js/affix.html +++ b/docs/_includes/js/affix.html @@ -7,7 +7,7 @@

Usage

-

Use the affix plugin via data attributes or manually with your own JavaScript. In both situations, you must provide CSS for the positioning of your content.

+

Use the affix plugin via data attributes or manually with your own JavaScript. In both situations, you must provide CSS for the positioning and width of your affixed content.

Positioning via CSS

The affix plugin toggles between three classes, each representing a particular state: .affix, .affix-top, and .affix-bottom. You must provide the styles for these classes yourself (independent of this plugin) to handle the actual positions.