make javascript notice pretty

This commit is contained in:
Skip R. 2018-07-16 18:32:42 -07:00
parent 4fbad7f3ed
commit 08bf0620a6
No known key found for this signature in database
GPG key ID: 1508C19D7436A26D

View file

@ -12,7 +12,19 @@
</head> </head>
<body> <body>
<noscript> <noscript>
enable javascript <style>
html, body, .javascript-notice {
width: 100%; height: 100%;
padding: 0; margin: 0;
font: 24px system-ui, sans-serif;
}
.javascript-notice {
display: flex; justify-content: center; align-items: center;
}
</style>
<div class="javascript-notice">
javascript is required
</div>
</noscript> </noscript>
<div id="root"></div> <div id="root"></div>
</body> </body>