From eaa00cfc6cbf196bc3fb7d375c46ef0efdb3208b Mon Sep 17 00:00:00 2001 From: Sean Johnson Date: Mon, 9 Jul 2018 14:26:08 -0700 Subject: [PATCH] Fixed card margins. --- src/styl/card/card-settings.styl | 2 +- src/styl/card/card.styl | 6 ++++++ test/views/abilities.hbs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/styl/card/card-settings.styl b/src/styl/card/card-settings.styl index 574de88..c56bb7e 100644 --- a/src/styl/card/card-settings.styl +++ b/src/styl/card/card-settings.styl @@ -1,6 +1,6 @@ @require "../settings.styl"; $card-padding ?= $default-padding; -$card-margin ?= 0;//$default-margin-layout; +$card-margin ?= $default-margin-layout; $card-border-width ?= $default-border-width; $card-border-color ?= $default-border-color; $card-border-radius ?= $default-border-radius; diff --git a/src/styl/card/card.styl b/src/styl/card/card.styl index ae0a338..a68a819 100644 --- a/src/styl/card/card.styl +++ b/src/styl/card/card.styl @@ -109,3 +109,9 @@ $card-header-margin = -($card-border-width + $card-padding); overflow: hidden; } } + +.card-fillable.fillable + margin: $card-margin 0; + + & > .fillable-content > .card + margin: 0; diff --git a/test/views/abilities.hbs b/test/views/abilities.hbs index 47833de..4c2abde 100644 --- a/test/views/abilities.hbs +++ b/test/views/abilities.hbs @@ -10,7 +10,7 @@

Fillable

-
+