diff options
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); |