Skip to content

Commit

Permalink
Fixed card margins.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnsonaz committed Jul 9, 2018
1 parent 45ef275 commit eaa00cf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/styl/card/card-settings.styl
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
6 changes: 6 additions & 0 deletions src/styl/card/card.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion test/views/abilities.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>

<h3>Fillable</h3>
<div class="fillable" id="fillable">
<div class="fillable card-fillable" id="fillable">
<div class="fillable-content">
<div class="card fill">
<section class="card-content card-content-space">
Expand Down

0 comments on commit eaa00cf

Please sign in to comment.