Skip to content

Commit

Permalink
enforce $card-border-width on cards
Browse files Browse the repository at this point in the history
  • Loading branch information
enricodias committed Dec 11, 2020
1 parent c976ee9 commit 3b6458f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ $btn-font-weight: $font-weight-medium !default;
$btn-border-radius: 3px !default;

//cards
$card-border-width: $border-width !default;
$card-border-color: $border-color-transparent !default;
$card-border-radius: $border-radius !default;

Expand Down
1 change: 1 addition & 0 deletions src/scss/ui/_cards.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.card {
box-shadow: $card-shadow;
border: $card-border-width solid $card-border-color;

@media print {
border: none;
Expand Down

0 comments on commit 3b6458f

Please sign in to comment.