Merge pull request #10204 from tschaub/doc-layout
Avoid scrolling over navigation
This commit is contained in:
@@ -75,3 +75,7 @@
|
||||
pre.source {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
section.content {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
@@ -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) { ?>
|
||||
|
||||
Reference in New Issue
Block a user