diff options
author | Scott Main <smain@google.com> | 2011-12-15 17:34:40 -0800 |
---|---|---|
committer | Scott Main <smain@google.com> | 2011-12-15 17:34:40 -0800 |
commit | 1d42360a028b2d55f6d4d29bd99e8ef3de6e8402 (patch) | |
tree | 5cafcee950d684e235143561ff9c88730d0593d3 /tools | |
parent | f5cbe0024328f6d716dc13b8a836f058c9c74c64 (diff) | |
download | build-1d42360a028b2d55f6d4d29bd99e8ef3de6e8402.zip build-1d42360a028b2d55f6d4d29bd99e8ef3de6e8402.tar.gz build-1d42360a028b2d55f6d4d29bd99e8ef3de6e8402.tar.bz2 |
docs: style and script changes for android u classes
Change-Id: I5866541bb9dd41329aa02328b805959c8f675f8c
Diffstat (limited to 'tools')
-rw-r--r-- | tools/droiddoc/templates-sdk/assets/android-developer-docs.css | 4 | ||||
-rw-r--r-- | tools/droiddoc/templates-sdk/assets/android-developer-docs.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/android-developer-docs.css b/tools/droiddoc/templates-sdk/assets/android-developer-docs.css index 2e15a68..9378cf3 100644 --- a/tools/droiddoc/templates-sdk/assets/android-developer-docs.css +++ b/tools/droiddoc/templates-sdk/assets/android-developer-docs.css @@ -67,8 +67,7 @@ #side-nav li { padding:0; - line-height:16px; - white-space:nowrap; + padding:1px 0 1px 0; zoom:1; } @@ -80,6 +79,7 @@ } #side-nav li a { + display: inline-block; /* needed to apply padding to line-wraps */ text-decoration:none; padding: 0 0 0 18px; zoom:1; diff --git a/tools/droiddoc/templates-sdk/assets/android-developer-docs.js b/tools/droiddoc/templates-sdk/assets/android-developer-docs.js index 0cac2fc..c15584f 100644 --- a/tools/droiddoc/templates-sdk/assets/android-developer-docs.js +++ b/tools/droiddoc/templates-sdk/assets/android-developer-docs.js @@ -425,7 +425,7 @@ function loadLast(cookiePath) { $(window).unload(function(){ var path = getBaseUri(location.pathname); - if (path.indexOf("/reference/") != -1) { + if ((path.indexOf("/reference/") != -1) || (path.indexOf("/training/") != -1)) { writeCookie("lastpage", path, "reference", null); } else if (path.indexOf("/guide/") != -1) { writeCookie("lastpage", path, "guide", null); |