Skip to content

Commit

Permalink
Fix video overflow in full content mode
Browse files Browse the repository at this point in the history
  • Loading branch information
amitraj2203 committed May 9, 2024
1 parent de09691 commit d5cc81c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/block-library/src/latest-posts/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,30 @@
}
}

.wp-block-video {
box-sizing: border-box;

video {
vertical-align: middle;
width: 100%;
}

&.aligncenter {
text-align: center;
}

figcaption {
margin-bottom: 1em;
margin-top: 0.5em;
}

@supports (position: sticky) {
[poster] {
object-fit: cover;
}
}
}

@include break-small {
@for $i from 2 through 6 {
&.columns-#{ $i } li {
Expand Down

0 comments on commit d5cc81c

Please sign in to comment.