Fix up the layout of the debug content
Put it in the bottom left in a disclosure
This commit is contained in:
parent
3fb0ef35fe
commit
7325debd66
2 changed files with 9 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
{{ if not hugo.IsProduction }}
|
||||
<div class="platter" id="debug-page-info">
|
||||
<details open>
|
||||
<details>
|
||||
<summary>Debug Page Info</summary>
|
||||
<table>
|
||||
<tr><td>.Section</td><td>{{ .Section }}</td></tr>
|
||||
|
|
|
@ -26,27 +26,29 @@
|
|||
border: 1px solid #ddd;
|
||||
border-radius: 6px;
|
||||
box-shadow: 4px 5px 5px rgba(230, 230, 230, 0.5);
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
|
||||
font-size: 8px;
|
||||
position: fixed;
|
||||
bottom: 2rem;
|
||||
left: 2rem;
|
||||
bottom: 2rem;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
#debug-page-info details {
|
||||
margin: 0.5rem;
|
||||
}
|
||||
|
||||
#debug-page-info summary {
|
||||
font-family: var(--font-family-heading);
|
||||
}
|
||||
|
||||
#debug-page-info table {
|
||||
display: block;
|
||||
margin-block-start: 0.5em;
|
||||
margin-inline-start: 1em;
|
||||
}
|
||||
|
||||
#debug-page-info td {
|
||||
border: 1px solid black;
|
||||
padding: 0.4em;
|
||||
padding: 0.25em;
|
||||
}
|
||||
|
||||
#debug-page-info tr:nth-child(even) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue