Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit fd66468

Browse files
committed
Fix alignment
Signed-off-by: RakeshPotnuru <[email protected]>
1 parent 2a788b0 commit fd66468

File tree

4 files changed

+32
-40
lines changed

4 files changed

+32
-40
lines changed

src/components/post/components/MoreArticles.jsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@ const RelatedArticles = ({ posts }) => {
1414
))}
1515
</SimpleGrid>
1616
</Container>
17-
<Center>
18-
<Box my={20}>
19-
<AdSense
20-
style={{ display: 'block' }}
21-
adFormat={'fluid'}
22-
adSlot={'3408517885'}
23-
data-ad-layout-key={'-f9+52+6z-e1+5b'}
24-
/>
25-
</Box>
26-
</Center>
17+
<Box my={20} mx={'auto'}>
18+
<AdSense
19+
style={{ display: 'block' }}
20+
adFormat={'fluid'}
21+
adSlot={'3408517885'}
22+
data-ad-layout-key={'-f9+52+6z-e1+5b'}
23+
/>
24+
</Box>
2725
</>
2826
);
2927
};

src/components/search/SearchPage.jsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,14 @@ const SearchPage = ({
9292
loading={loading}
9393
error={variableError}
9494
/>
95-
<Center>
96-
<Box my={20}>
97-
<AdSense
98-
style={{ display: 'block' }}
99-
adFormat={'fluid'}
100-
adSlot={'3408517885'}
101-
data-ad-layout-key={'-f9+52+6z-e1+5b'}
102-
/>
103-
</Box>
104-
</Center>
95+
<Box my={20} mx={'auto'}>
96+
<AdSense
97+
style={{ display: 'block' }}
98+
adFormat={'fluid'}
99+
adSlot={'3408517885'}
100+
data-ad-layout-key={'-f9+52+6z-e1+5b'}
101+
/>
102+
</Box>
105103
</>
106104
);
107105
};

src/components/snippet/components/MoreSnippets.jsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@ const MoreSnippets = ({ snippets, loading }) => {
1414
))}
1515
</SimpleGrid>
1616
</Container>
17-
<Center>
18-
<Box my={20}>
19-
<AdSense
20-
style={{ display: 'block' }}
21-
adFormat={'fluid'}
22-
adSlot={'3408517885'}
23-
data-ad-layout-key={'-f9+52+6z-e1+5b'}
24-
/>
25-
</Box>
26-
</Center>
17+
<Box my={20} mx={'auto'}>
18+
<AdSense
19+
style={{ display: 'block' }}
20+
adFormat={'fluid'}
21+
adSlot={'3408517885'}
22+
data-ad-layout-key={'-f9+52+6z-e1+5b'}
23+
/>
24+
</Box>
2725
</>
2826
);
2927
};

src/components/supportMe/SupportMePage.jsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,14 @@ const SupportMePage = () => {
8383
</SimpleGrid>
8484
</Box>
8585
</Box>
86-
<Center>
87-
<Box my={20}>
88-
<AdSense
89-
style={{ display: 'block' }}
90-
adFormat={'fluid'}
91-
adSlot={'3408517885'}
92-
data-ad-layout-key={'-f9+52+6z-e1+5b'}
93-
/>
94-
</Box>
95-
</Center>
86+
<Box my={20} mx={'auto'}>
87+
<AdSense
88+
style={{ display: 'block' }}
89+
adFormat={'fluid'}
90+
adSlot={'3408517885'}
91+
data-ad-layout-key={'-f9+52+6z-e1+5b'}
92+
/>
93+
</Box>
9694
</>
9795
);
9896
};

0 commit comments

Comments
 (0)