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

Skip to content

Commit b3db3f2

Browse files
fixed width on bigger screens issue
1 parent 0cdc8cb commit b3db3f2

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

‎_includes/footer.html‎

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +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 style="padding: 0 0 0 0;position:relative;">
16-
<iframe src="https://www.youtube-nocookie.com/embed/videoseries?list=PL0lo9MOBetEFmtstItnKlhJJVmMghxc0P" frameborder="0" allowfullscreen style="width:100%;height:100%;"></iframe>
17-
</div>
18-
</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>
1911
</div>
12+
</div>
13+
</div>
14+
</div>
15+
16+
2017

2118
<div class="mx-auto">
2219
<div class="height-full p-5">

0 commit comments

Comments
 (0)