CLS: reserve space for injected video ads

This commit is contained in:
infinite-persistence 2021-07-23 10:56:32 +08:00
parent 038431f95c
commit c62c667436
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 5 additions and 1 deletions

View file

@ -33,6 +33,10 @@
min-width: 15rem;
}
.ads__injected-video {
aspect-ratio: 16 / 9;
}
.avp-p-gui {
z-index: 1 !important;
}

View file

@ -82,7 +82,7 @@ function Ads(props: Props) {
const videoAd = (
<div className="ads__claim-item">
<div id="62d1eb10-e362-4873-99ed-c64a4052b43b" />
<div id="62d1eb10-e362-4873-99ed-c64a4052b43b" className="ads__injected-video" />
<div
className={classnames('ads__claim-text', {
'ads__claim-text--small': small,