Skip to content

Commit

Permalink
fix(card): update background to use the same as item (#19602)
Browse files Browse the repository at this point in the history
uses item background but falls back to the background of the content
  • Loading branch information
brandyscarney committed Nov 8, 2019
1 parent b23c759 commit 1a8b7a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/components/card/card.ios.scss
Expand Up @@ -5,7 +5,7 @@
// --------------------------------------------------

:host {
--background: var(--ion-item-background, transparent);
--background: #{$item-ios-background};
--color: #{$card-ios-text-color};

@include margin($card-ios-margin-top, $card-ios-margin-end, $card-ios-margin-bottom, $card-ios-margin-start);
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/card/card.md.scss
Expand Up @@ -5,7 +5,7 @@
// --------------------------------------------------

:host {
--background: var(--ion-item-background, transparent);
--background: #{$item-md-background};
--color: #{$card-md-text-color};

@include margin($card-md-margin-top, $card-md-margin-end, $card-md-margin-bottom, $card-md-margin-start);
Expand Down

0 comments on commit 1a8b7a4

Please sign in to comment.