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:
parent
631867b30f
commit
5194c009ce
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue