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) { %> <% if (it.debug) { %>
<style> <head>
:root { <meta charset="UTF-8">
font-family: 'Figtree', Arial, Helvetica, sans-serif; <meta name="viewport" content="width=device-width, initial-scale=1.0">
} <style>
* { :root {
font-family: inherit; height: 100%;
} font-family: 'Figtree', Arial, Helvetica, sans-serif;
</style> }
<link rel="stylesheet" href="/style.css"> * {
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 %> <%~ it.body %>