stupid scroll

This commit is contained in:
Bel LaPointe
2021-02-25 16:22:40 -06:00
parent 1eb8fa7223
commit 47d6c37819
3 changed files with 31 additions and 15 deletions

View File

@@ -102,9 +102,22 @@ const defaultWrapper = `
font-size: 125%;
background: #3b242b;
margin-top: 0;
margin-bottom: 0;
height: calc(100vh - 1em);
overflow: auto;
display: flex;
flex-direction: column;
}
body > form > textarea {
margin-top: 2.5em;
body > .form {
flex-grow: 2;
}
body > .form > form {
height: 100%;
display: flex;
flex-direction: column;
}
body > .form > form > textarea {
flex-grow: 2;
}
rendered > h2:nth-child(2) {
margin: 0;
@@ -135,10 +148,11 @@ const defaultWrapper = `
margin: 0;
margin-bottom: .5em;
padding: .3em 0 .3em 0;
position: sticky;
top: 0;
background-color: #3b242b;
z-index: 999;
position: -webkit-sticky;
position: sticky;
top: 0;
}
h1:hover > .comment,
h2:hover > .comment,
@@ -154,7 +168,7 @@ const defaultWrapper = `
}
</style>
</header>
<body height="100%">
<body>
{{{}}}
</body>
<footer>