Skip to content

Commit c9fd044

Browse files
adds padding to ad unit
1 parent 1ad4342 commit c9fd044

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

components/common/GoogleAdSense.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ const GoogleAdSense = ({
2424
}, []);
2525

2626
return (
27-
<div className="my-4" style={{minHeight: "250px", minWidth: "300px"}}>
27+
<div
28+
className="my-4"
29+
style={{minHeight: "250px", minWidth: "300px", margin: "0 0 40px"}}
30+
>
2831
<ins
2932
ref={adRef}
3033
className="adsbygoogle"

components/occupation-country/sections/TopTen.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export default async function TopTen({country, occupation, people}) {
106106
</p>
107107
</div>
108108
</div>
109+
<GoogleAdSense adClient="ca-pub-1706971377772539" adSlot="2596594359" />
109110
{people.slice(1, 10).map((person, i) => (
110111
<React.Fragment key={person.id}>
111112
<div className="top-person">

0 commit comments

Comments
 (0)