forked from discord/embedded-app-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (25 loc) · 790 Bytes
/
index.html
File metadata and controls
25 lines (25 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
<head>
<style>
html,
:root {
--sait: var(--discord-safe-area-inset-top, env(safe-area-inset-top));
--saib: var(--discord-safe-area-inset-bottom, env(safe-area-inset-bottom));
--sail: var(--discord-safe-area-inset-left, env(safe-area-inset-left));
--sair: var(--discord-safe-area-inset-right, env(safe-area-inset-right));
}
body {
background-color: #ffffff;
padding-top: var(--sait);
padding-bottom: var(--saib);
padding-left: var(--sail);
padding-right: var(--sair);
}
</style>
<script src="index.js"></script>
</head>
<body>
<div>Parent iframe</div>
<iframe id="child-iframe" src="/.proxy/nested" width="250px" height="250px"></iframe>
</body>
</html>