improve debug view

This commit is contained in:
hazycora 2023-08-02 17:55:36 -05:00
parent 2cf7675588
commit 993d65aea3
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E

View file

@ -1,12 +1,25 @@
<% if (it.debug) { %>
<style>
:root {
font-family: 'Figtree', Arial, Helvetica, sans-serif;
}
* {
font-family: inherit;
}
</style>
<link rel="stylesheet" href="/style.css">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
:root {
height: 100%;
font-family: 'Figtree', Arial, Helvetica, sans-serif;
}
* {
font-family: inherit;
}
body {
margin: 0;
background-color: black;
display: grid;
place-items: center;
height: 100%;
}
</style>
<link rel="stylesheet" href="/style.css">
<title>OpenGraph Debug Preview</title>
</head>
<% } %>
<%~ it.body %>