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:
parent
72b57db2e8
commit
64f71a9cb4
1 changed files with 5 additions and 0 deletions
|
@ -186,6 +186,11 @@
|
|||
amp-youtube {
|
||||
height: calc(100vw / 1.78);
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
amp-youtube img {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
|
|
Loading…
Add table
Reference in a new issue