0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Updated amp-youtube placeholder image position (#15833)

refs: ced1fdbdd4

- This is a follow-up to #15826 that I forgot to include in the first commit. Fixes an issue where the placeholder image would offset the youtube iframe embed on initial load.
This commit is contained in:
Jacob Simon 2022-11-15 11:07:52 -08:00 committed by GitHub
parent 72b57db2e8
commit 64f71a9cb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,6 +186,11 @@
amp-youtube {
height: calc(100vw / 1.78);
width: 100vw;
position: relative;
}
amp-youtube img {
position: absolute;
}
.page-header {