Skip to content

Commit

Permalink
Set fixed height of demo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstyl committed May 3, 2024
1 parent 1266ca0 commit b22f1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ of your choice.
Comes with built-in Keyboard management and animation support. Supports Compose Desktop, Web (WASM), Android and iOS.

<script src="jquery-3.7.1.min.js"></script>
<div style="position: relative; max-width: 800px; border-radius: 20px; overflow: hidden;">
<div style="position: relative; max-width: 800px; height:340px; border-radius: 20px; overflow: hidden;">
<img src="menu-preview.jpg" id="menuImage" style="max-width: 100%; height: auto; display: block;">
<iframe id="demoIframe" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; display: none;" src="preview/index.html" title="Demo" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin"></iframe>
</div>
Expand Down

0 comments on commit b22f1b0

Please sign in to comment.