Skip to content

Commit

Permalink
Merge branch 'padms/2008' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Jan 5, 2024
2 parents 1eb5c3f + ed14eb4 commit 88ebe17
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ const FactBoxContentWithPadding = styled(FactBox.Content)<{
!hasImage && {
padding: `${hasBgColor ? 'var(--space-3xLarge)' : '0'} var(--layout-paddingHorizontal-large)`,
}}
${({ hasColumns, hasBgColor }) =>
hasColumns && {
padding: `${hasBgColor ? 'var(--space-large)' : '0 var(--space-large)'}`,
}}
`

type BlockProps = {
Expand Down

0 comments on commit 88ebe17

Please sign in to comment.