From 259c90d48ff5ff639b29adbe4958cfa44e9697ba Mon Sep 17 00:00:00 2001 From: Sean Johnson Date: Thu, 21 Jun 2018 16:22:46 -0700 Subject: [PATCH] Added tab-space class. --- src/styl/tab/tab.styl | 9 ++++++--- test/views/containers.hbs | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/styl/tab/tab.styl b/src/styl/tab/tab.styl index 8474b42..117b488 100644 --- a/src/styl/tab/tab.styl +++ b/src/styl/tab/tab.styl @@ -66,7 +66,6 @@ box-shadow: $tab-box-shadow; & > div { display: none; - padding: $tab-body-padding; clearfix(); &.tab-active { display: block; @@ -82,8 +81,12 @@ background-color: $tab-background-color; border-radius: 0 $tab-border-radius $tab-border-radius $tab-border-radius; box-shadow: $tab-box-shadow; - & > div { - //padding: $tab-body-padding; + } + + &.tab-space { + .tab-body > div, + .tab-carousel > div { + padding: $tab-body-padding; } } } diff --git a/test/views/containers.hbs b/test/views/containers.hbs index bcf6ab4..4c69ebd 100644 --- a/test/views/containers.hbs +++ b/test/views/containers.hbs @@ -13,7 +13,7 @@

Tab

-
+

Carousel

-