Fix talk video
This commit is contained in:
parent
9b5a8f1a1c
commit
d3434207f1
|
@ -1,9 +1,13 @@
|
|||
.talk-video { padding-top: 56.25% }
|
||||
.talk-video {
|
||||
@apply .relative .w-full;
|
||||
padding-top: 56.25%
|
||||
}
|
||||
|
||||
.talk-video iframe,
|
||||
.talk-video embed {
|
||||
@apply .absolute;
|
||||
@apply .pin-l;
|
||||
@apply .pin-t;
|
||||
@apply .h-full;
|
||||
@apply .w-full;
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
{% if page.video.embed %}
|
||||
<div class="mt2">
|
||||
<div class="mt-4">
|
||||
<h2>Video</h2>
|
||||
|
||||
<div class="video w-100 pa0 relative">
|
||||
<div class="talk-video">
|
||||
{{ page.video.embed|raw }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue