Ad: fix stray video floaters outside our container.
This was tested to be removed during evaluation, but seems like there are cases where it comes back. This solution should be more robust: hide for all, except when in our designated container.
This commit is contained in:
parent
530433b508
commit
9ff88ecdd1
1 changed files with 11 additions and 0 deletions
|
@ -15,6 +15,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.avp-p-wrapper {
|
||||
// Hide by default, so that any stray floater won't be visible.
|
||||
// We'll enable it only within our designated container.
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Inline Video Ads
|
||||
// The default is coded for list-layout;
|
||||
// --tile and other modifiers adjust accordingly.
|
||||
|
@ -61,6 +67,11 @@
|
|||
width: $width;
|
||||
}
|
||||
|
||||
.avp-p-wrapper {
|
||||
// Only enable this within our container.
|
||||
display: block;
|
||||
}
|
||||
|
||||
div[style*='transform-origin: left bottom'],
|
||||
div[style*='transform-origin: right bottom'] {
|
||||
// [Floating ad]
|
||||
|
|
Loading…
Reference in a new issue