Merge pull request #10204 from tschaub/doc-layout

Avoid scrolling over navigation
This commit is contained in:
Tim Schaub
2019-10-27 17:05:39 -06:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -75,3 +75,7 @@
pre.source {
clear: both;
}
section.content {
overflow-y: auto;
}

View File

@@ -9,7 +9,7 @@
<?js= self.partial('source.tmpl', doc) ?>
<?js } else { ?>
<section>
<section class="content">
<header>
<h2><?js if (doc.ancestors && doc.ancestors.length) { ?>