Skip to content

Commit

Permalink
edit height to 100vh
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMThompson committed Feb 20, 2024
1 parent 3d755f9 commit ccb9345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<h1>Canva Embed Test</h1>

<div style="position: relative; width: 0; height: 100%; padding-top: 71.4286%;
<div style="position: relative; width: 100%; height: 100vh; padding-top: 71.4286%;
padding-bottom: 0; box-shadow: 0 2px 8px 0 rgba(63,69,81,0.16); margin-top: 1.6em; margin-bottom: 0.9em; overflow: hidden;
border-radius: 8px; will-change: transform;">
<iframe loading="lazy" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; border: none; padding: 0;margin: 0;"
Expand Down

0 comments on commit ccb9345

Please sign in to comment.