From 165312faad6519edb3db1ea00866a16c53dec0b9 Mon Sep 17 00:00:00 2001 From: Sophie Schneider Date: Tue, 15 Aug 2023 23:41:14 +0000 Subject: [PATCH] [CalloutCard] Consolidate se23 logic and styles --- .../src/components/CalloutCard/CalloutCard.scss | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/polaris-react/src/components/CalloutCard/CalloutCard.scss b/polaris-react/src/components/CalloutCard/CalloutCard.scss index c28e6853724..c19989569fd 100644 --- a/polaris-react/src/components/CalloutCard/CalloutCard.scss +++ b/polaris-react/src/components/CalloutCard/CalloutCard.scss @@ -25,17 +25,11 @@ } .Title { - margin-bottom: var(--p-space-5); - #{$se23} & { - margin-bottom: var(--p-space-2); - } + margin-bottom: var(--p-space-2); } .Buttons { - margin-top: var(--p-space-5); - #{$se23} & { - margin-top: var(--p-space-2); - } + margin-top: var(--p-space-2); } .Container { @@ -46,7 +40,9 @@ right: var(--p-space-4); top: var(--p-space-4); position: absolute; - #{$se23} & svg { + + // stylelint-disable-next-line -- Dismiss icon color override + & svg { fill: var(--p-color-icon-subdued); } }