Skip to content

Commit

Permalink
fix(post): apply dynamic height of jetpack git wrapper #98
Browse files Browse the repository at this point in the history
Related to: INR-40
  • Loading branch information
akiletour authored Mar 31, 2023
2 parents 640caaa + a14a53f commit 281dadd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/app/components/blog/PostBody.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,20 @@
.content [class~=wp-block-gallery][class~=columns-3] [class~=blocks-gallery-grid] {
@apply grid-cols-1 md:grid-cols-3;
}

.content [class~=wp-block-jetpack-gif-wrapper] {
height: 0;
margin: 0;
padding: calc(56.2% + 12px) 0 0;
position: relative;
width: 100%;
}

.content [class~=wp-block-jetpack-gif-wrapper] iframe {
border: 0;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}

0 comments on commit 281dadd

Please sign in to comment.