2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

add back href for alerts in components docs to make close work on iphone

This commit is contained in:
Mark Otto
2012-03-25 18:03:30 -07:00
parent 825227474b
commit 4893928310
3 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -1607,7 +1607,7 @@
<h3>{{_i}}Example alerts{{/i}}</h3>
<p>{{_i}}Wrap your message and an optional close icon in a div with simple class.{{/i}}</p>
<div class="alert">
<a class="close" data-dismiss="alert">&times;</a>
<a class="close" data-dismiss="alert" href="#">&times;</a>
<strong>{{_i}}Warning!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
</div>
<pre class="prettyprint linenums">
@@ -1618,7 +1618,7 @@
</pre>
<p>{{_i}}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.{{/i}}</p>
<div class="alert alert-block">
<a class="close" data-dismiss="alert">&times;</a>
<a class="close" data-dismiss="alert" href="#">&times;</a>
<h4 class="alert-heading">{{_i}}Warning!{{/i}}</h4>
<p>{{_i}}Best check yo self, you're not looking too good.{{/i}} Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
</div>
@@ -1637,7 +1637,7 @@
<div class="span4">
<h3>{{_i}}Error or danger{{/i}}</h3>
<div class="alert alert-error">
<a class="close" data-dismiss="alert">&times;</a>
<a class="close" data-dismiss="alert" href="#">&times;</a>
<strong>{{_i}}Oh snap!{{/i}}</strong> {{_i}}Change a few things up and try submitting again.{{/i}}
</div>
<pre class="prettyprint linenums">
@@ -1649,7 +1649,7 @@
<div class="span4">
<h3>{{_i}}Success{{/i}}</h3>
<div class="alert alert-success">
<a class="close" data-dismiss="alert">&times;</a>
<a class="close" data-dismiss="alert" href="#">&times;</a>
<strong>{{_i}}Well done!{{/i}}</strong> {{_i}}You successfully read this important alert message.{{/i}}
</div>
<pre class="prettyprint linenums">
@@ -1661,7 +1661,7 @@
<div class="span4">
<h3>{{_i}}Information{{/i}}</h3>
<div class="alert alert-info">
<a class="close" data-dismiss="alert">&times;</a>
<a class="close" data-dismiss="alert" href="#">&times;</a>
<strong>{{_i}}Heads up!{{/i}}</strong> {{_i}}This alert needs your attention, but it's not super important.{{/i}}
</div>
<pre class="prettyprint linenums">