Fixes more

This commit is contained in:
Yang Lin 2016-11-25 02:38:54 +08:00
parent 684d78cca0
commit 2fe21c9f42
2 changed files with 7 additions and 1 deletions

View File

@ -80,6 +80,10 @@ td, th {
h2 {
border-bottom: 1px solid $silver;
}
p {
margin: 0 0 24px 0;
line-height: 28px;
}
}
body, .main-nav .main-nav-button,.translated-cn code {

View File

@ -28,7 +28,8 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
// ignore example code.
if (node.classList.contains('code-example') ||
node.tagName === 'CODE-EXAMPLE') {
node.tagName === 'CODE-EXAMPLE' ||
node.tagName === 'SCRIPT') {
continue;
}
@ -51,6 +52,7 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
case 'TH':
case 'UL':
case 'OL':
case 'DIV':
processContainer(node);
break;
default: