]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Don't line wrap event names in JS plugin docs 15111/head
authorChris Rebert <code@rebertia.com>
Thu, 13 Nov 2014 00:32:51 +0000 (16:32 -0800)
committerChris Rebert <code@rebertia.com>
Thu, 13 Nov 2014 00:32:51 +0000 (16:32 -0800)
docs/_includes/js/affix.html
docs/_includes/js/alerts.html
docs/_includes/js/carousel.html
docs/_includes/js/collapse.html
docs/_includes/js/dropdowns.html
docs/_includes/js/modal.html
docs/_includes/js/popovers.html
docs/_includes/js/scrollspy.html
docs/_includes/js/tabs.html
docs/_includes/js/tooltips.html
docs/assets/css/src/docs.css

index f32b376de5f941dc95c496dd83f7bdc742688d25..3cb846ea908a0f165f241bd53bdf9b7b485fde9d 100644 (file)
@@ -77,7 +77,7 @@ $('#myAffix').affix({
   <h3 id="affix-events">Events</h3>
   <p>Bootstrap's affix plugin exposes a few events for hooking into affix functionality.</p>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
         <tr>
           <th style="width: 150px;">Event Type</th>
index f2e70fa0171fd4d9bc79be22c6e942865b8ae3a6..8a207cc7ff166adf5a892dd583aaf503de42fed4 100644 (file)
@@ -47,7 +47,7 @@
   <h3 id="alerts-events">Events</h3>
   <p>Bootstrap's alert plugin exposes a few events for hooking into alert functionality.</p>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
         <tr>
           <th style="width: 150px;">Event Type</th>
index 02d01bc3c0534297d5cd1bee291dc3fd370e85ef..abd2890b8f4275d7480b86c189e8f3a44969da3f 100644 (file)
@@ -227,7 +227,7 @@ $('.carousel').carousel({
     <li><code>relatedTarget</code>: The DOM element that is being slid into place as the active item.</li>
   </ul>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
        <tr>
          <th style="width: 150px;">Event Type</th>
index 44d05e5366a7ef199621530b911da42d4f0841e9..a5ef034104987e5508b835aa67c47422f6740d68 100644 (file)
@@ -212,7 +212,7 @@ $('#myCollapsible').collapse({
   <h3 id="collapse-events">Events</h3>
   <p>Bootstrap's collapse class exposes a few events for hooking into collapse functionality.</p>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
        <tr>
          <th style="width: 150px;">Event Type</th>
index 28b59930924abfbf795f1c103376aa211abe64f9..1bfea563c98bca4e6d583aa06addeaeea203bc71 100644 (file)
@@ -165,7 +165,7 @@ $('.dropdown-toggle').dropdown()
   <h3 id="dropdowns-events">Events</h3>
   <p>All dropdown events are fired at the <code>.dropdown-menu</code>'s parent element.</p>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
         <tr>
           <th style="width: 150px;">Event Type</th>
index 4c0d46e9b0d4598fc5b4e4c3f75e7a4534568763..d3379083389ca7478ae1bd54b2272af168f63c39 100644 (file)
@@ -378,7 +378,7 @@ $('#myModal').modal({
   <h3 id="modals-events">Events</h3>
   <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
        <tr>
          <th style="width: 150px;">Event Type</th>
index a03c8d9a8db224e5a3d7a278cd6b591054a54cec..25db7cd77bbc16b95b2a84f30539cffadfc8e038 100644 (file)
@@ -268,7 +268,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
   {% highlight js %}$('#element').popover('destroy'){% endhighlight %}
   <h3 id="popovers-events">Events</h3>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
         <tr>
           <th style="width: 150px;">Event Type</th>
index d58ddbe5aacd064d57c39ad75cc0ec6614aff0ee..9df8dc8135bfcbbeb847494faf56ae3ac98d82ac 100644 (file)
@@ -128,7 +128,7 @@ $('[data-spy="scroll"]').each(function () {
 
   <h3 id="scrollspy-events">Events</h3>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
        <tr>
          <th style="width: 150px;">Event Type</th>
index 9de511b9a69cc1e1b496532226e1dff3f05d84e7..8c5ed1f4554a40e0266e9e755708c3a28bbafe59 100644 (file)
@@ -128,7 +128,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
   </ol>
   <p>If no tab was already active, then the <code>hide.bs.tab</code> and <code>hidden.bs.tab</code> events will not be fired.</p>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
        <tr>
          <th style="width: 150px;">Event Type</th>
index f349d08d3e1a5cb1448dbccdc7230f564135cdc6..7d6107ef247ad57f0c8585b12e7541c93c7e14b8 100644 (file)
@@ -231,7 +231,7 @@ $('#example').tooltip(options)
 
   <h3 id="tooltips-events">Events</h3>
   <div class="table-responsive">
-    <table class="table table-bordered table-striped">
+    <table class="table table-bordered table-striped bs-events-table">
       <thead>
         <tr>
           <th style="width: 150px;">Event Type</th>
index c7b13f169b070198b66f74ee59281076a9e3a07d..63370f31cf35367ad388ccee3fd7c871a13b9cad 100644 (file)
@@ -1147,6 +1147,11 @@ h1[id] {
   overflow: auto;
 }
 
+/* Don't wrap event names in Events tables in JS plugin docs */
+.bs-events-table > thead > tr > th:first-child,
+.bs-events-table > tbody > tr > td:first-child {
+  white-space: nowrap;
+}
 
 /*
  * Code snippets