From a7edd92c457879f2719afe6b5d119886b869182f Mon Sep 17 00:00:00 2001 From: Przemyslaw Szczepaniak Date: Mon, 26 Sep 2016 16:21:13 +0100 Subject: [PATCH] Fix for non-empty a[name] tags in openJdk based javadocs. openJdk based android javadoc contains tags to account for sticky nav */ -body.reference a[name] { +body.reference a[name]:empty { visibility: hidden; display: block; position: relative; diff --git a/tools/droiddoc/templates-sdk/assets/css/default.css b/tools/droiddoc/templates-sdk/assets/css/default.css index e422d75ce..9e5df48e3 100644 --- a/tools/droiddoc/templates-sdk/assets/css/default.css +++ b/tools/droiddoc/templates-sdk/assets/css/default.css @@ -3322,20 +3322,18 @@ table.jd-tagtable th { display: none; } -/* offset the tags to account for sticky nav */ -body.reference a[name]:not(.nav-start-marker) { +/* offset the empty tags to account for sticky nav */ +body.reference a[name]:not(.nav-start-marker):empty { visibility: hidden; display: block; position: relative; top: -56px; - } .nav-start-marker { position: absolute; } - /* Quicknav */ .btn-quicknav { width:20px;