We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a716348 commit d44480cCopy full SHA for d44480c
src/containers/post/HorizontalAd.tsx
@@ -35,7 +35,7 @@ function HorizontalAd({}: Props) {
35
<Wrapper ref={ref}>
36
<ins
37
className="adsbygoogle"
38
- style={{ display: 'block' }}
+ style={{ display: 'block', maxHeight: 400, width: '100%' }}
39
data-ad-client="ca-pub-5574866530496701"
40
data-ad-slot="8809887603"
41
data-ad-format="auto"
@@ -47,12 +47,9 @@ function HorizontalAd({}: Props) {
47
}
48
49
const Wrapper = styled.div`
50
+ max-height: 400px;
51
margin-top: 1.5rem;
52
margin-bottom: 1.5rem;
- ins {
53
- max-height: 400px;
54
- width: 100%;
55
- }
56
`;
57
58
export default HorizontalAd;
0 commit comments