From: David Cramer Date: Wed, 9 May 2012 03:27:20 +0000 (+0000) Subject: Webhelp: Arun's fix for bug where heading was partially hidden by header in some... X-Git-Tag: release/1.79.1~6^2~448 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64adb3dd4b5baab2a49e0f57c22d19c81a87ed52;p=docbook-dsssl Webhelp: Arun's fix for bug where heading was partially hidden by header in some situations. --- diff --git a/xsl/webhelp/template/common/main.js b/xsl/webhelp/template/common/main.js index 83f58e432..714cdeec3 100644 --- a/xsl/webhelp/template/common/main.js +++ b/xsl/webhelp/template/common/main.js @@ -81,7 +81,7 @@ $(document).ready(function() { // you click on a link from another page. var hash = window.location.hash; if(hash){ - var targetOffset = $(hash).offset().top - 105; + var targetOffset = $(hash).offset().top - 120; $('html,body').animate({scrollTop: targetOffset}, 200); return false; }