Skip to content

Commit c98d244

Browse files
Revert "Add margintop to body content when nav bar appears"
1 parent 6b4f9bb commit c98d244

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/content/antora_ui/src/js/10-navscroll.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ var navScroll = (function() {
9696

9797
// adjust docs toolbar and nav position
9898
$(".toolbar").css("top", nav_height + "px");
99-
$(".doc").css("margin-top", nav_height + "px")
10099
if (window.outerWidth < 1024) {
101100
$(".nav-container").css(
102101
"top",
@@ -137,7 +136,6 @@ var navScroll = (function() {
137136

138137
// adjust docs toolbar and nav position
139138
$(".toolbar").css("top", "0px");
140-
$(".doc").css("margin-top", "0px");
141139
if (window.outerWidth < 1024) {
142140
$(".nav-container").css("top", $(".toolbar").outerHeight() + "px");
143141
$(".nav").css("top", "");

0 commit comments

Comments
 (0)