Skip to content

Commit 9f0cedc

Browse files
committed
fix: container padding
1 parent d6407dd commit 9f0cedc

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

src/components/Blocks/Content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const ContentBlock: React.FC<ContentBlockProps> = (props) => {
6969

7070

7171
return (
72-
<div className="container my-6">
72+
<div className="my-6">
7373

7474
<div
7575
className={cn(

src/components/Blocks/FeaturesBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const FeaturesBlock: React.FC<Props> = ({ title, description, features, i
2525
// return null
2626

2727
return (
28-
<section className={cn(!nested ? 'container' : 'w-full', '')}>
28+
<section className={cn(!nested ? '' : 'w-full', '')}>
2929
<div className='prose prose:max-w-none'>
3030
{title && (
3131
<h2 className="mb-6 mt-0 text-primary" id={id || ''}>

src/components/HeaderFooter/RelatedPagesMenu.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,15 @@ export function RelatedPagesMenu({ menuItems, wide = false, dark = true }: Heade
2727
)}
2828
>
2929
{/* <Container className="px-0"> */}
30-
<nav className="container backdrop-blur-sm p-0">
31-
<div className="container">
30+
<div className="container backdrop-blur-sm">
3231
<div
33-
className={cn('flex items-center justify-between px-9 py-0', !wide && 'container')}
32+
className={cn('flex items-center justify-between py-0', !wide && 'container')}
3433
>
3534
<PopoverGroup className="flex gap-x-12">
3635
{menuItems && menuItems.map((menu) => <HeaderMenu key={menu.name} {...menu} />)}
3736
</PopoverGroup>
3837
</div>
39-
</div>
40-
</nav>
38+
</div>
4139
</menu>
4240
</>
4341
)

src/components/Heros/HighImpact/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const HighImpactHero: React.FC<HighImpactHeroType> = ({
4848
{children ||
4949
(richText && (
5050
<RichText
51-
className="max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground"
51+
className="max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground"
5252
content={richText}
5353
enableGutter={true}
5454
/>

0 commit comments

Comments
 (0)