Merge pull request #139 from angular/fix-api-display

fix api display
This commit is contained in:
Rex 2016-11-26 14:54:57 +00:00 committed by GitHub
commit 11ed7f1cae
4 changed files with 157 additions and 157 deletions

View File

@ -1,20 +1,20 @@
{
"currentEnvironment": "JavaScript",
"version": {
"raw": "2.2.0-beta.0",
"raw": "2.3.0-beta.0",
"major": 2,
"minor": 2,
"minor": 3,
"patch": 0,
"prerelease": [
"local"
],
"build": "sha.f6eeb79",
"version": "2.2.0-local",
"build": "sha.dfe65b3",
"version": "2.3.0-local",
"codeName": "snapshot",
"isSnapshot": true,
"full": "2.2.0-local+sha.f6eeb79",
"full": "2.3.0-local+sha.dfe65b3",
"branch": "master",
"commitSHA": "f6eeb79d28bab55ae6d025f37368c4107bbcb408"
"commitSHA": "dfe65b3ddbf365abd5b2e0a0b1f5972e38b8bc1c"
},
"sections": [
{

View File

@ -1,20 +1,20 @@
{
"currentEnvironment": "TypeScript",
"version": {
"raw": "2.2.0-beta.0",
"raw": "2.3.0-beta.0",
"major": 2,
"minor": 2,
"minor": 3,
"patch": 0,
"prerelease": [
"local"
],
"build": "sha.f6eeb79",
"version": "2.2.0-local",
"build": "sha.dfe65b3",
"version": "2.3.0-local",
"codeName": "snapshot",
"isSnapshot": true,
"full": "2.2.0-local+sha.f6eeb79",
"full": "2.3.0-local+sha.dfe65b3",
"branch": "master",
"commitSHA": "f6eeb79d28bab55ae6d025f37368c4107bbcb408"
"commitSHA": "dfe65b3ddbf365abd5b2e0a0b1f5972e38b8bc1c"
},
"sections": [
{

View File

@ -11,14 +11,6 @@
}
}
api-list .docs-content{
display: block;
}
api-list + .main-footer{
display: block;
}
h1.original-english {
margin-top: -($unit * 2);
}
@ -69,6 +61,14 @@
display: none;
}
api-list .docs-content{
display: block;
}
api-list + .main-footer{
display:block;
}
td, th {
> p:last-child {
margin-bottom: 0;
@ -100,7 +100,7 @@ td, th {
}
}
body, .main-nav .main-nav-button,.translated-cn code {
body, .main-nav .main-nav-button, .translated-cn code {
font-family: "Helvetica Neue", Arial, STHeiti, "Microsoft YaHei", sans-serif, Helvetica, "DroidSansFallback", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3" !important;
}

View File

@ -3,9 +3,7 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
(function ($) {
var content = document.querySelector('article');
var footer = document.querySelector('.main-footer');
if(!content || !footer){
return;
}
processContainer(content);
processContainer(footer);
@ -17,7 +15,9 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
}
// restore
if (content) {
content.style.display = 'block';
}
footer.style.display = 'block';
/**