From: harry Date: Tue, 16 May 2017 17:43:05 +0000 (+0530) Subject: Fix table page and add new codepens X-Git-Tag: v6.4.0-rc1~46^2~11^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b60a15310e46442f4cfde7e20fa668a47c94d00e;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix table page and add new codepens --- diff --git a/docs/pages/table.md b/docs/pages/table.md index e51cd202d..91def2379 100644 --- a/docs/pages/table.md +++ b/docs/pages/table.md @@ -9,10 +9,12 @@ sass: scss/components/_table.scss No bells or whistles here, just a straight up table for all of your basic table needs. -
- Watch this part in video +

+ Watch this part in video +

- edit on codepen button +
+ edit on codepen button
```html_example @@ -54,10 +56,12 @@ No bells or whistles here, just a straight up table for all of your basic table Need to spiff up the table just a tad? Just add the class `.hover` to lightly darken the table rows on hover. -
- Watch this part in video +

+ Watch this part in video +

- edit on codepen button +
+ edit on codepen button
```html @@ -102,10 +106,12 @@ Need to spiff up the table just a tad? Just add the class `.hover` to lightly da By default, table rows are striped. There's an `.unstriped` class to remove the stripes. If you change `$table-is-striped` to `false` to remove stripes from all tables, use the `.striped` class to add stripes. -
- Watch this part in video +

+ Watch this part in video +

- edit on codepen button +
+ edit on codepen button
```html @@ -150,10 +156,12 @@ By default, table rows are striped. There's an `.unstriped` class to remove the To stack a table on small screens, add the class `.stack`. -
- Watch this part in video +

+ Watch this part in video +

- edit on codepen button +
+ edit on codepen button
```html @@ -198,13 +206,18 @@ To stack a table on small screens, add the class `.stack`. Got a lot of tubular tabular data? Add a wrapper element with the class `.table-scroll` around your table to enable horizontal scrolling. - Watch this part in video + +

+ Watch this part in video +

The wrapping element was added in Foundation 6.2—prior to that, you just added the class .scroll to the table itself. However, this method doesn't work great with Internet Explorer 9. If you don't need IE9 support, you can just add .scroll to your table, and the wrapping element isn't necessary.

-edit on codepen button +
+ edit on codepen button +
```html