Merge pull request #10204 from tschaub/doc-layout
Avoid scrolling over navigation
This commit is contained in:
@@ -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) { ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user