From d1b25c2dc7d570a50b0f321d417e92e1f84ab3e6 Mon Sep 17 00:00:00 2001 From: GregRR Date: Wed, 3 Sep 2014 15:42:31 -0700 Subject: [PATCH] Made table-layout a setting. --- scss/foundation/_settings.scss | 3 ++- scss/foundation/components/_tables.scss | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scss/foundation/_settings.scss b/scss/foundation/_settings.scss index 0ee7ed499..d8e5615ba 100644 --- a/scss/foundation/_settings.scss +++ b/scss/foundation/_settings.scss @@ -1281,7 +1281,8 @@ $include-html-global-classes: $include-html-classes; // $table-row-font-color: $jet; // $table-line-height: rem-calc(18); -// These are for controlling the display and margin of tables +// These are for controlling the layout, display and margin of tables +// $table-layout: auto; // $table-display: table-cell; // $table-margin-bottom: rem-calc(20); diff --git a/scss/foundation/components/_tables.scss b/scss/foundation/components/_tables.scss index 4e61584ba..ba3e42e62 100644 --- a/scss/foundation/components/_tables.scss +++ b/scss/foundation/components/_tables.scss @@ -50,7 +50,8 @@ $table-row-font-size: rem-calc(14) !default; $table-row-font-color: $jet !default; $table-line-height: rem-calc(18) !default; -// These are for controlling the display and margin of tables +// These are for controlling the layout, display and margin of tables +$table-layout: auto !default; $table-display: table-cell !default; $table-margin-bottom: rem-calc(20) !default; @@ -63,6 +64,7 @@ $table-margin-bottom: rem-calc(20) !default; background: $table-bg; margin-bottom: $table-margin-bottom; border: $table-border-style $table-border-size $table-border-color; + table-layout: $table-layout; caption { background: $table-caption-bg; -- 2.47.2