mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
add back href for alerts in components docs to make close work on iphone
This commit is contained in:
@@ -1684,7 +1684,7 @@
|
||||
<h3>Example alerts</h3>
|
||||
<p>Wrap your message and an optional close icon in a div with simple class.</p>
|
||||
<div class="alert">
|
||||
<a class="close" data-dismiss="alert">×</a>
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<strong>Warning!</strong> Best check yo self, you're not looking too good.
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
@@ -1695,7 +1695,7 @@
|
||||
</pre>
|
||||
<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">×</a>
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<h4 class="alert-heading">Warning!</h4>
|
||||
<p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
|
||||
</div>
|
||||
@@ -1714,7 +1714,7 @@
|
||||
<div class="span4">
|
||||
<h3>Error or danger</h3>
|
||||
<div class="alert alert-error">
|
||||
<a class="close" data-dismiss="alert">×</a>
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<strong>Oh snap!</strong> Change a few things up and try submitting again.
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
@@ -1726,7 +1726,7 @@
|
||||
<div class="span4">
|
||||
<h3>Success</h3>
|
||||
<div class="alert alert-success">
|
||||
<a class="close" data-dismiss="alert">×</a>
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<strong>Well done!</strong> You successfully read this important alert message.
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
@@ -1738,7 +1738,7 @@
|
||||
<div class="span4">
|
||||
<h3>Information</h3>
|
||||
<div class="alert alert-info">
|
||||
<a class="close" data-dismiss="alert">×</a>
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<strong>Heads up!</strong> This alert needs your attention, but it's not super important.
|
||||
</div>
|
||||
<pre class="prettyprint linenums">
|
||||
|
||||
Reference in New Issue
Block a user