]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #10207: alert-dismissable example requires contextual class 10209/head
authorAlex Olshansky <i@creagenics.com>
Tue, 27 Aug 2013 12:20:14 +0000 (05:20 -0700)
committerAlex Olshansky <i@creagenics.com>
Tue, 27 Aug 2013 12:20:14 +0000 (05:20 -0700)
components.html

index 6273276473568e6c2c4ba71d86f52b702c982236..3225f285ade630caf5910196beb85dc277a30737 100644 (file)
@@ -2209,13 +2209,13 @@ body { padding-bottom: 70px; }
     <h2 id="alerts-dismissable">Dismissable alerts</h2>
     <p>Build on any alert by adding an optional <code>.alert-dismissable</code> and close button.</p>
     <div class="bs-example">
-      <div class="alert alert-dismissable">
+      <div class="alert alert-warning alert-dismissable">
         <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
         <strong>Warning!</strong> Best check yo self, you're not looking too good.
       </div>
     </div>
 {% highlight html %}
-<div class="alert alert-dismissable">
+<div class="alert alert-warning alert-dismissable">
   <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
   <strong>Warning!</strong> Best check yo self, you're not looking too good.
 </div>