From 65b37c8c46a9cfad78d9e81da29f043b9d82af82 Mon Sep 17 00:00:00 2001 From: Matthew Witek Date: Wed, 1 Mar 2017 19:46:48 -0500 Subject: [PATCH] Add stacked table var to components/_table --- scss/components/_table.scss | 4 ++++ scss/settings/_settings.scss | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scss/components/_table.scss b/scss/components/_table.scss index e7afd9f79..321658195 100644 --- a/scss/components/_table.scss +++ b/scss/components/_table.scss @@ -76,6 +76,10 @@ $table-foot-font-color: $body-font-color !default; /// @type Boolean $show-header-for-stacked: false !default; +/// Breakpoint at which stacked table switches from mobile to desktop view. +/// @type Breakpoint +$table-stack-breakpoint: medium !default; + @mixin -zf-table-stripe($stripe: $table-stripe) { tr { // If stripe is set to even, darken the even rows. diff --git a/scss/settings/_settings.scss b/scss/settings/_settings.scss index 8eeb4c948..af784b6d6 100644 --- a/scss/settings/_settings.scss +++ b/scss/settings/_settings.scss @@ -556,7 +556,6 @@ $table-foot-background: smart-scale($table-background, $table-color-scale); $table-foot-row-hover: darken($table-foot-background, $table-hover-scale); $table-head-font-color: $body-font-color; $table-foot-font-color: $body-font-color; -$table-stack-breakpoint: medium; $show-header-for-stacked: false; // 33. Tabs -- 2.47.2