Fixes #11634: Add warning to docs to not combine icon classes with other elements

This commit is contained in:
Mark Otto 2013-11-28 11:38:28 -08:00
parent 594d0c700d
commit 56f4cf0316
1 changed files with 4 additions and 0 deletions

View File

@ -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 %}