From: Chris Rebert Date: Mon, 31 Mar 2014 08:24:54 +0000 (-0700) Subject: explicitly doc that icon classes should only be used on empty elements; closes #13240 X-Git-Tag: v3.2.0~287^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ffc7346b9a26735fe857e9b0794a5c609c1b7b;p=thirdparty%2Fbootstrap.git explicitly doc that icon classes should only be used on empty elements; closes #13240 --- diff --git a/docs/_includes/components/glyphicons.html b/docs/_includes/components/glyphicons.html index 6900e0dfa4..0f932f45c7 100644 --- a/docs/_includes/components/glyphicons.html +++ b/docs/_includes/components/glyphicons.html @@ -21,6 +21,10 @@

Don't mix with other components

Icon classes cannot be directly combined with other components. They should not be used along with other classes on the same element. Instead, add a nested <span> and apply the icon classes to the <span>.

+
+

Only for use on empty elements

+

Icon classes should only be used on elements that contain no text content and have no child elements.

+
{% highlight html %} {% endhighlight %}