aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-25 19:47:13 -0700
committerMark Otto <[email protected]>2012-03-25 19:47:13 -0700
commitea437351ed115b240e9b150da7ee93582f31dd17 (patch)
tree0fb335f2538e00a03decf218bb92073d8e555fa3 /docs/components.html
parent4893928310288d7bccb400017d333c6a49700046 (diff)
downloadbootstrap-ea437351ed115b240e9b150da7ee93582f31dd17.tar.xz
bootstrap-ea437351ed115b240e9b150da7ee93582f31dd17.zip
add heads up note for required href on alert dismiss actions
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/components.html b/docs/components.html
index a78dabeba..d5a3e2a99 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -1689,10 +1689,11 @@
</div>
<pre class="prettyprint linenums">
&lt;div class="alert"&gt;
- &lt;a class="close" data-dismiss="alert"&gt;&times;&lt;/a&gt;
+ &lt;a class="close" data-dismiss="alert" href="#"&gt;&times;&lt;/a&gt;
&lt;strong&gt;Warning!&lt;/strong&gt; Best check yo self, you're not looking too good.
&lt;/div&gt;
</pre>
+ <p><span class="label label-info">Heads up!</span> iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for fully responsive and dismissable alerts.</p>
<p>Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.</p>
<div class="alert alert-block">
<a class="close" data-dismiss="alert" href="#">&times;</a>
@@ -1701,7 +1702,7 @@
</div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-block"&gt;
- &lt;a class="close" data-dismiss="alert"&gt;&times;&lt;/a&gt;
+ &lt;a class="close" data-dismiss="alert" href="#"&gt;&times;&lt;/a&gt;
&lt;h4 class="alert-heading"&gt;Warning!&lt;/h4&gt;
Best check yo self, you're not...
&lt;/div&gt;