diff options
Diffstat (limited to 'playground/index.html')
| -rw-r--r-- | playground/index.html | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/playground/index.html b/playground/index.html index 7487569..53015ed 100644 --- a/playground/index.html +++ b/playground/index.html @@ -3,12 +3,32 @@ <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> - <title>@eeeooolll/graphiql · playground</title> + + <title>@eeeooolll/graphiql • playground</title> + <link rel="icon" href="./src/favicon.svg"/> + <style> - html, body, #app { height: 100%; margin: 0; } - body { background: #1e1e1e; color: #d4d4d4; font-family: ui-monospace, SFMono-Regular, monospace; } + *, + *::before, + *::after { + margin: 0; padding: 0; + box-sizing: inherit; + } + + html { + width: 100%; height: 100%; + + box-sizing: border-box; + overscroll-behavior: none; + } + + body, + #app { + width: inherit; height: inherit; + } </style> </head> + <body> <div id="app"></div> <script type="module" src="./src/main.ts"></script> |