diff --git a/config/config.go b/config/config.go index 73998a1..3e91447 100755 --- a/config/config.go +++ b/config/config.go @@ -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 = ` } -
+ {{{}}}