Skip to content

Commit ddb5fc6

Browse files
committed
fix: API and TOC styles aligned with the new nav
1 parent 7dce561 commit ddb5fc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_assets/css/_styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ $border-color: #d9d9d9;
15711571
}
15721572

15731573
&.affix {
1574-
margin-top: 125px;
1574+
margin-top: 85px;
15751575
position: fixed;
15761576
top: 0;
15771577
z-index: 1015;

_buildApi/BuildAPI/docfx-tmpl/src/styles/docfx.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ body {
1818
nav.TK-Nav {
1919
position: sticky;
2020
position: -webkit-sticky;
21-
top: -40px;
21+
top: 0;
2222
transform: translateZ(0);
2323
-webkit-transform: translateZ(0);
2424
}

0 commit comments

Comments
 (0)