From ff8d28cf2501773ff6f7833865c8e2b2ebb76a3f Mon Sep 17 00:00:00 2001 From: Quy Date: Sat, 31 Dec 2016 16:12:28 -0800 Subject: Move .table-responsive from wrapper to .table --- docs/content/tables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/content') diff --git a/docs/content/tables.md b/docs/content/tables.md index da847611f..4b4e75028 100644 --- a/docs/content/tables.md +++ b/docs/content/tables.md @@ -765,7 +765,7 @@ Responsive tables make use of `overflow-y: hidden`, which clips off any content {% highlight html %} - +
...
{% endhighlight %} -- cgit v1.2.3 From bd72b9593bbff9a001ba818dbf8782b5ed3f08d0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 3 Jan 2017 13:11:25 -0800 Subject: Drop .table-reflow Tried redoing this in flexbox, but it falls apart really quickly. Any changes in height of the cells throws it all off since the rows become columns (and thus, content across columns cannot be equally sized). Rather than implement something with such glaring flaws, I'm nuking it outright. --- docs/content/tables.md | 58 -------------------------------------------------- 1 file changed, 58 deletions(-) (limited to 'docs/content') diff --git a/docs/content/tables.md b/docs/content/tables.md index 4b4e75028..234c2ec88 100644 --- a/docs/content/tables.md +++ b/docs/content/tables.md @@ -769,61 +769,3 @@ Responsive tables make use of `overflow-y: hidden`, which clips off any content ... {% endhighlight %} - - -### Reflow -Turn traditional tables on their side by using `table-reflow`. When using reflow, the table header becomes the first column of the table, the first row within the table body becomes the second column, the second row becomes the third column, etc. - -{% callout warning %} -#### Content order and complex tables - -Beware that the `table-reflow` style changes the visual order of content. Make sure that you only apply this style to well-formed and simple data tables (and in particular, don't use this for layout tables) with appropriate `` table header cells for each row and column. - -In addition, this class will not work correctly for tables with cells that span multiple rows or columns (using `rowspan` or `colspan` attributes). - -{% endcallout %} - -{% example html %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#Table headingTable headingTable headingTable headingTable headingTable heading
1Table cellTable cellTable cellTable cellTable cellTable cell
2Table cellTable cellTable cellTable cellTable cellTable cell
3Table cellTable cellTable cellTable cellTable cellTable cell
-{% endexample %} -- cgit v1.2.3 From 57d3a25fec7269fbb3795f320d73460135f39f5e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 3 Jan 2017 13:50:49 -0800 Subject: leave a note in the docs --- docs/content/typography.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/content') diff --git a/docs/content/typography.md b/docs/content/typography.md index 073734768..674b19b2e 100644 --- a/docs/content/typography.md +++ b/docs/content/typography.md @@ -17,6 +17,7 @@ Bootstrap includes simple and easily customized typography for headings, body te Bootstrap sets basic global display, typography, and link styles. Specifically, we: - Use a [native font stack]({{ site.baseurl }}/content/reboot/#native-font-stack) that selects the best `font-family` for each OS and device. +- For a more inclusive and accessible type scale, we assume the browser default root `font-size` (typically 16px) so visitors can customize their browser defaults as needed. - Use the `$font-family-base`, `$font-size-base`, and `$line-height-base` attributes as our typographic base applied to the ``. - Set the global link color via `$link-color` and apply link underlines only on `:hover`. - Use `$body-bg` to set a `background-color` on the `` (`#fff` by default). -- cgit v1.2.3