Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting styles on outer div doesnt stop the ad being bigger than the specificed css styles #133

Open
davestar057 opened this issue Aug 12, 2021 · 2 comments

Comments

@davestar057
Copy link

davestar057 commented Aug 12, 2021

In the docs it states "You should place the component inside a container element that has a specified (min/max) width and (min/max) height (which can be based on media queries), or use style or classes on the component to restrict the advertisement to a specific size (or sizes)."

This doesn't seem to stop the ad from displaying whatever auto ad size it wants, much bigger than the specified style... what am I missing?

.gadContainer {
border:2px solid red;
height: 90px !important;
max-height:90px !important;
width: 728px !important;
max-width:728px !important;
display: inline-block;
}

@Sirius3615
Copy link

same issue here

@TheAlexLichter
Copy link
Collaborator

Can you provide a reproduction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants