Skip to content

Commit

Permalink
Fixing 2xl breakout width
Browse files Browse the repository at this point in the history
  • Loading branch information
7emansell committed Oct 10, 2023
1 parent f535e9a commit e975518
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 247 deletions.
26 changes: 14 additions & 12 deletions src/components/FeaturedContent/FeaturedContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,21 @@ export const FeaturedContent = chakra(

return (
<Box data-testid="featuredcontent" __css={styles}>
<Box
data-testid="featuredcontent-bg-image"
__css={{
...styles.imgWrapper,
backgroundImage: `url(${imageProps.src})`,
}}
>
<FeaturedContentImage
alt={imageProps.alt}
src={imageProps.src ? imageProps.src : undefined}
/>
<Box __css={styles.wrapper}>
<Box
data-testid="featuredcontent-bg-image"
__css={{
...styles.imgWrapper,
backgroundImage: `url(${imageProps.src})`,
}}
>
<FeaturedContentImage
alt={imageProps.alt}
src={imageProps.src ? imageProps.src : undefined}
/>
</Box>
<Box __css={styles.text}>{textContent}</Box>
</Box>
<Box __css={styles.text}>{textContent}</Box>
</Box>
);
}
Expand Down
Loading

0 comments on commit e975518

Please sign in to comment.