change how debug layout works
This commit is contained in:
parent
15cf5a13c8
commit
6956faad46
2 changed files with 24 additions and 25 deletions
|
@ -1,26 +1,3 @@
|
|||
<% if (it.debug) { %>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
:root {
|
||||
height: 100%;
|
||||
font-family: 'DM Sans', Arial, Helvetica, sans-serif;
|
||||
}
|
||||
* {
|
||||
font-family: inherit;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
background-color: black;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<title>OpenGraph Debug Preview</title>
|
||||
</head>
|
||||
<% } %>
|
||||
<div class="wrapper <% if (it.languages) { %>has-languages<% } %> <% if (it.debug) { %>is-debug<% } %>">
|
||||
<%~ it.body %>
|
||||
<% if (it.languages) { %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue