make javascript notice pretty
This commit is contained in:
parent
4fbad7f3ed
commit
08bf0620a6
1 changed files with 13 additions and 1 deletions
|
@ -12,7 +12,19 @@
|
|||
</head>
|
||||
<body>
|
||||
<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>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue