]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge alert examples and add `.bs-example-standalone` class 14166/head
authorHeinrich Fenkart <hnrch02@gmail.com>
Thu, 17 Jul 2014 02:33:30 +0000 (04:33 +0200)
committerHeinrich Fenkart <hnrch02@gmail.com>
Thu, 17 Jul 2014 03:16:48 +0000 (05:16 +0200)
docs/_includes/js/alerts.html
docs/assets/css/src/docs.css

index 5b7f4e10c3e79ddbe3ef634b636cb1bd2a85b2fe..2f6b33368a69f1371763acb05e516539ac62afb0 100644 (file)
@@ -3,14 +3,12 @@
 
   <h2 id="alerts-examples">Example alerts</h2>
   <p>Add dismiss functionality to all alert messages with this plugin.</p>
-  <div class="bs-example">
+  <div class="bs-example bs-example-standalone">
     <div class="alert alert-warning alert-dismissible fade in" role="alert">
       <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
       <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
     </div>
-  </div><!-- /example -->
 
-  <div class="bs-example">
     <div class="alert alert-danger alert-dismissible fade in" role="alert">
       <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
       <h4>Oh snap! You got an error!</h4>
index 54cd991e356269d1dac020fd6df433cff932fcf9..142519bd5fc0704ad5f73483e47dfdecd1671806 100644 (file)
@@ -906,6 +906,9 @@ h1[id] {
     border-bottom-right-radius: 4px;
     border-bottom-left-radius: 4px;
   }
+  .bs-example-standalone {
+    border-radius: 4px;
+  }
 }
 
 /* Undo width of container */