Skip to content

Commit

Permalink
feat(variables): new -accordion-spacer
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Nov 6, 2019
1 parent 9f07e9e commit 576080e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scss/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,14 @@
button,
a {
display: flex;
width: calc(100% + (.875rem * 2));
padding: .875rem;
margin: 0 -.875rem;
width: calc(100% + (#{$card-accordion-spacer} * 2));
padding: $card-accordion-spacer;
margin: 0 -#{$card-accordion-spacer};
border: 0;

&::after {
align-self: center;
width: .875rem;
width: $card-accordion-spacer;
height: .4375rem;
margin-left: auto;
content: "";
Expand All @@ -314,9 +314,9 @@
}

.btn-sm {
width: calc(100% + (.75rem * 2));
padding: .75rem;
margin: 0 -.75rem;
width: calc(100% + (#{$card-spacer-y} * 2));
padding: $card-spacer-y;
margin: 0 -#{$card-spacer-y};
}

.btn-lg {
Expand Down
1 change: 1 addition & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,7 @@ $card-cap-bg: $white !default;
$card-cap-color: $white !default;
$card-color: $black !default;
$card-bg: $white !default;
$card-accordion-spacer: .875rem !default; // Boosted mod

$card-img-overlay-padding: 1.25rem !default;

Expand Down

0 comments on commit 576080e

Please sign in to comment.