Skip to content

Commit

Permalink
[CalloutCard] Consolidate se23 logic and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sophschneider committed Aug 15, 2023
1 parent 700a72f commit 165312f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions polaris-react/src/components/CalloutCard/CalloutCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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);
}
}
Expand Down

0 comments on commit 165312f

Please sign in to comment.