We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e1117 commit c55143dCopy full SHA for c55143d
packages/compass-web/sandbox/index.html
@@ -11,16 +11,28 @@
11
<style>
12
body {
13
margin: 0;
14
+ background: #00a35c;
15
+ }
16
+ #container {
17
+ --offset: 30px;
18
+ position: absolute;
19
+ top: var(--offset);
20
+ bottom: var(--offset);
21
+ left: var(--offset);
22
+ right: var(--offset);
23
}
24
#sandbox-app {
- width: 100vw;
- height: 100vh;
25
+ width: 100%;
26
+ height: 100%;
27
28
</style>
29
</head>
30
31
<body>
- <div id="sandbox-app"></div>
32
+ <!-- Mounting app inside an offset container simulate embedding more realistically -->
33
+ <div id="container">
34
+ <div id="sandbox-app"></div>
35
+ </div>
36
<script src="/index.js"></script>
37
</body>
38
</html>
0 commit comments