From 1a8b7a4559860b3efa4778a78c905e30f18587bf Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 8 Nov 2019 12:55:19 -0500 Subject: [PATCH] fix(card): update background to use the same as item (#19602) uses item background but falls back to the background of the content --- core/src/components/card/card.ios.scss | 2 +- core/src/components/card/card.md.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/components/card/card.ios.scss b/core/src/components/card/card.ios.scss index 4e2a85df91..e5ea78624d 100755 --- a/core/src/components/card/card.ios.scss +++ b/core/src/components/card/card.ios.scss @@ -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); diff --git a/core/src/components/card/card.md.scss b/core/src/components/card/card.md.scss index a910f6f625..0258feb280 100755 --- a/core/src/components/card/card.md.scss +++ b/core/src/components/card/card.md.scss @@ -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);