aboutsummaryrefslogtreecommitdiff
path: root/components.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-11-28 11:38:28 -0800
committerMark Otto <[email protected]>2013-11-28 11:38:28 -0800
commit56f4cf0316b03af888c22c62e4ef24e437b4a370 (patch)
tree24240e8b9e79acc16b1eee22df567b650082f49c /components.html
parent594d0c700dacbce8805bab1be6111631c8e003fb (diff)
downloadbootstrap-56f4cf0316b03af888c22c62e4ef24e437b4a370.tar.xz
bootstrap-56f4cf0316b03af888c22c62e4ef24e437b4a370.zip
Fixes #11634: Add warning to docs to not combine icon classes with other elements
Diffstat (limited to 'components.html')
-rw-r--r--components.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/components.html b/components.html
index 53a788f3f..ca6ae40ec 100644
--- a/components.html
+++ b/components.html
@@ -822,6 +822,10 @@ base_url: "../"
<h2 id="glyphicons-how-to-use">How to use</h2>
<p>For performance reasons, all icons require a base class and individual icon class. To use, place the following code just about anywhere. Be sure to leave a space between the icon and text for proper padding.</p>
+ <div class="bs-callout bs-callout-danger">
+ <h4>Don't mix with other components</h4>
+ <p>Icon classes cannot be combined with other elements. They are designed to be standalone elements.</p>
+ </div>
{% highlight html %}
<span class="glyphicon glyphicon-search"></span>
{% endhighlight %}