diff --git a/docs/_includes/js/affix.html b/docs/_includes/js/affix.html index f32b376de5f941dc95c496dd83f7bdc742688d25..3cb846ea908a0f165f241bd53bdf9b7b485fde9d 100644 --- a/docs/_includes/js/affix.html +++ b/docs/_includes/js/affix.html @@ -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> diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html index f2e70fa0171fd4d9bc79be22c6e942865b8ae3a6..8a207cc7ff166adf5a892dd583aaf503de42fed4 100644 --- a/docs/_includes/js/alerts.html +++ b/docs/_includes/js/alerts.html @@ -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> diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index 02d01bc3c0534297d5cd1bee291dc3fd370e85ef..abd2890b8f4275d7480b86c189e8f3a44969da3f 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -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> diff --git a/docs/_includes/js/collapse.html b/docs/_includes/js/collapse.html index 196eadff32e8fd7a6d09756c2067cde6b22f566b..a60e91c83bf1a373cfb178053a2213c1acfdb44d 100644 --- a/docs/_includes/js/collapse.html +++ b/docs/_includes/js/collapse.html @@ -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> diff --git a/docs/_includes/js/dropdowns.html b/docs/_includes/js/dropdowns.html index 1cc785b2d07d0c23e7db17aa47221163a2f24543..683453096d14bf090f29e6591701b098035056e5 100644 --- a/docs/_includes/js/dropdowns.html +++ b/docs/_includes/js/dropdowns.html @@ -166,7 +166,7 @@ $('.dropdown-toggle').dropdown() <p>All dropdown events are fired at the <code>.dropdown-menu</code>'s parent element.</p> <p>All dropdown events have a <code>relatedTarget</code> property, whose value is the toggling anchor 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> diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 40135657755146641d150a9f4da112063cd47cae..6f7fa9cf99c1229d40baf055d022fff60b84d43c 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -383,7 +383,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> diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index 4e0c2637302ef98487b700f832f74ac95ff3c48e..ab33baccbdb537b8441dabfb0465913954d094cc 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -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> diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html index b2dd07ae98774f98023987511f8766ab6640deba..2b42e8492f505dca3d873fc4c43fd11fbca01b00 100644 --- a/docs/_includes/js/scrollspy.html +++ b/docs/_includes/js/scrollspy.html @@ -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> diff --git a/docs/_includes/js/tabs.html b/docs/_includes/js/tabs.html index 018d45d0e286f142bd7976fce40831340224abc1..90fda3537e984f959af4166ce2d12aa037968f91 100644 --- a/docs/_includes/js/tabs.html +++ b/docs/_includes/js/tabs.html @@ -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> diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 12ffbb72e18eff807987e89ae8c2dd2694d34313..5f5de7794e6e79277344b9b1f7124d2719dc308e 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -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> diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index c7b13f169b070198b66f74ee59281076a9e3a07d..63370f31cf35367ad388ccee3fd7c871a13b9cad 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -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