Skip to content

Commit

Permalink
Moved logic to different branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNetcare committed Jun 20, 2024
1 parent 6211245 commit fb76536
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/fitnesse/resources/bootstrap/templates/skeleton.vm
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,5 @@
</footer>
#end

<script>
function adjustPadding() {
var navHeight = document.querySelector('nav').offsetHeight;
document.body.style.paddingTop = navHeight + 'px';
}

// Making sure the padding is correct when loading a page
window.onload = adjustPadding;

// Changing the padding when the window gets resized
window.onresize = adjustPadding;
</script>

</body>
</html>

0 comments on commit fb76536

Please sign in to comment.