Skip to content

Commit a51bc0a

Browse files
philg314hugovk
authored andcommitted
Fix mobile nav obstructing content
1 parent 506e0f2 commit a51bc0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python_docs_theme/static/pydoctheme.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ dl > dt span ~ em {
266266
html {
267267
scroll-padding-top: 40px;
268268
}
269+
body {
270+
margin-top: 40px;
271+
}
269272

270273
/* Top navigation bar */
271274
.mobile-nav {
@@ -512,7 +515,6 @@ dl > dt span ~ em {
512515
width: 100%;
513516
}
514517
.document {
515-
padding-top: 40px;
516518
position: relative;
517519
z-index: 0;
518520
}

0 commit comments

Comments
 (0)