Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6c1f82e

Browse files
authored
Merge pull request github#1259 from tusharbansal22/fixed-footer-iframe
fixed unresponsiveness of the iframe in footer
2 parents 9692b8a + b3db3f2 commit 6c1f82e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

‎_includes/footer.html‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<div class="bg-gray py-5">
33
<footer class="container-lg text-center">
44

5-
<div class="mx-auto">
6-
<div class="height-full p-5">
7-
<div class="bg-white border p-5 d-inline-block box-shadow rounded-2">
8-
<h3 class="alt-h2 mt-3">
9-
{{ t.YouTube }}
10-
</h3>
11-
<iframe width="560" height="315"
12-
src="https://www.youtube-nocookie.com/embed/videoseries?list=PL0lo9MOBetEFmtstItnKlhJJVmMghxc0P"
13-
frameborder="0" allowfullscreen>
14-
</iframe>
15-
</div>
5+
<div class="mx-auto" >
6+
<div class="height-full p-5" >
7+
<div class="bg-white border p-5 d-inline-block box-shadow rounded-2" style="width:70vw; max-width:565px ">
8+
<h3 class="alt-h2 mt-3">{{ t.YouTube }}</h3>
9+
<div style="width: 100%; max-width: 560px; height: 0; padding-bottom: 56.25%; position: relative;">
10+
<iframe src="https://www.youtube-nocookie.com/embed/videoseries?list=PL0lo9MOBetEFmtstItnKlhJJVmMghxc0P" frameborder="0" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>
1611
</div>
12+
</div>
13+
</div>
14+
</div>
15+
16+
1717

1818
<div class="mx-auto">
1919
<div class="height-full p-5">

0 commit comments

Comments
 (0)