Skip to content

Commit

Permalink
rename prop
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed Sep 18, 2024
1 parent 47e1f8c commit 3b106b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dotcom-rendering/src/components/SupportingContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ const wrapperStyles = css`
}
`;

const mobileBackground = css`
const backgroundFill = css`
/** background fill should only apply to sublinks on mobile breakpoints */
${until.tablet} {
padding: 8px;
background-color: ${palette('--card-sublinks-background')};
Expand All @@ -140,7 +141,7 @@ export const SupportingContent = ({
wrapperStyles,
baseGrid,
alignment === 'horizontal' && horizontalGrid,
fillBackground && mobileBackground,
fillBackground && backgroundFill,
]}
>
{supportingContent.map((subLink, index) => {
Expand Down

0 comments on commit 3b106b5

Please sign in to comment.