Style: update height of speakerdeck tag to be avoid scaling (#5818)

* style: update height of speackerdeck tag to be avoid scaling

* style: remove incorrect padding and margin from speackerdeck tag

* add a comment
This commit is contained in:
Deepu K Sasidharan 2020-02-06 20:29:34 +01:00 committed by GitHub
parent 631867b30f
commit 5194c009ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,9 @@
<%# Padding bottom set for 16:9 aspect ratio https://benmarshall.me/responsive-iframes/ %>
<div class="ltag_speakerdeck"
style="position: relative;
width: 100%;
height: 0;
padding-bottom: calc(57% + 58px);
margin-bottom:1em auto 1.3em; ">
padding-bottom: 56.25%;">
<iframe allowfullscreen="true"
allowtransparency="true"
frameborder="0"