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
@@ -75,3 +75,7 @@
pre.source { pre.source {
clear: both; clear: both;
} }
section.content {
overflow-y: auto;
}
@@ -9,7 +9,7 @@
<?js= self.partial('source.tmpl', doc) ?> <?js= self.partial('source.tmpl', doc) ?>
<?js } else { ?> <?js } else { ?>
<section> <section class="content">
<header> <header>
<h2><?js if (doc.ancestors && doc.ancestors.length) { ?> <h2><?js if (doc.ancestors && doc.ancestors.length) { ?>