From 44447eeefe61dbb16cab59900c3c061d9f207fbc Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 24 Nov 2014 17:09:32 -0800 Subject: Give all embedded live docs examples data-example-id attrs Refs #11410 --- docs/_includes/css/tables.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/_includes/css/tables.html') diff --git a/docs/_includes/css/tables.html b/docs/_includes/css/tables.html index aba4a3af8..0b2e1b5fd 100644 --- a/docs/_includes/css/tables.html +++ b/docs/_includes/css/tables.html @@ -3,7 +3,7 @@

Basic example

For basic styling—light padding and only horizontal dividers—add the base class .table to any <table>. It may seem super redundant, but given the widespread use of tables for other plugins like calendars and date pickers, we've opted to isolate our custom table styles.

-
+
@@ -49,7 +49,7 @@

Cross-browser compatibility

Striped tables are styled via the :nth-child CSS selector, which is not available in Internet Explorer 8.

-
+
Optional table caption.
@@ -90,7 +90,7 @@

Bordered table

Add .table-bordered for borders on all sides of the table and cells.

-
+
@@ -135,7 +135,7 @@

Hover rows

Add .table-hover to enable a hover state on table rows within a <tbody>.

-
+
@@ -175,7 +175,7 @@

Condensed table

Add .table-condensed to make tables more compact by cutting cell padding in half.

-
+
@@ -261,7 +261,7 @@
-
+
@@ -365,7 +365,7 @@

For more information, read this Stack Overflow answer.

-
+
-- cgit v1.2.3 From 511f37dc049e99256838894b311b8847dba2c1c5 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 30 Dec 2014 18:16:16 -0800 Subject: Document that responsive tables use `overflow-y: hidden` Closes #15288 [skip sauce] --- docs/_includes/css/tables.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/_includes/css/tables.html') diff --git a/docs/_includes/css/tables.html b/docs/_includes/css/tables.html index c3021ee80..ac84e8158 100644 --- a/docs/_includes/css/tables.html +++ b/docs/_includes/css/tables.html @@ -351,6 +351,10 @@

Responsive tables

Create responsive tables by wrapping any .table in .table-responsive to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.

+
+

Vertical clipping/truncation

+

Responsive tables make use of overflow-y: hidden, which clips off any content that goes beyond the bottom or top edges of the table. In particular, this can clip off dropdown menus and other third-party widgets.

+

Firefox and fieldsets

Firefox has some awkward fieldset styling involving width that interferes with the responsive table. This cannot be overriden without a Firefox-specific hack that we don't provide in Bootstrap:

-- cgit v1.2.3